[ 
https://issues.apache.org/jira/browse/HIVE-24472?focusedWorklogId=582060&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-582060
 ]

ASF GitHub Bot logged work on HIVE-24472:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 13/Apr/21 20:49
            Start Date: 13/Apr/21 20:49
    Worklog Time Spent: 10m 
      Work Description: pgaref commented on a change in pull request #2123:
URL: https://github.com/apache/hive/pull/2123#discussion_r612766954



##########
File path: 
llap-tez/src/java/org/apache/hadoop/hive/llap/tezplugins/LlapTaskSchedulerService.java
##########
@@ -429,6 +437,11 @@ public LlapTaskSchedulerService(TaskSchedulerContext 
taskSchedulerContext, Clock
     delayedTaskSchedulerExecutor =
         MoreExecutors.listeningDecorator(delayedTaskSchedulerExecutorRaw);
 
+    ExecutorService preemptTaskSchedulerExecutorRaw = 
Executors.newFixedThreadPool(1,

Review comment:
       Well, I agree but the actual LLAP preemption Conf we are using 
https://github.com/apache/hive/blob/61d5c641b2e414c7b7dfd92f2b402db3583507c8/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java#L5023
   
   is actually targeting the TaskExecutorService within the LlapDaemon 
(waitQueue tasks vs Running) and not the LlapTaskSchedulingService -- in a 
sense this a different type of preemption and I am not sure we should just use 
the same conf here.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 582060)
    Time Spent: 1h 10m  (was: 1h)

> Optimize LlapTaskSchedulerService::preemptTasksFromMap
> ------------------------------------------------------
>
>                 Key: HIVE-24472
>                 URL: https://issues.apache.org/jira/browse/HIVE-24472
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Rajesh Balamohan
>            Assignee: Panagiotis Garefalakis
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: Screenshot 2020-12-03 at 12.13.03 PM.png
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> !Screenshot 2020-12-03 at 12.13.03 PM.png|width=1063,height=571!
> speculativeTasks could possibly include node information to reduce CPU burn 
> in LlapTaskSchedulerService::preemptTasksFromMap
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to