[ 
https://issues.apache.org/jira/browse/HIVE-23122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17072716#comment-17072716
 ] 

Panagiotis Garefalakis commented on HIVE-23122:
-----------------------------------------------

Thanks for the patch [~abstractdog] – pretty useful – would it make sense to 
add the canFinishForPriority property used by the BaseComparator as well?

> LLAP TaskExecutorService should log details about task eviction decision 
> details
> --------------------------------------------------------------------------------
>
>                 Key: HIVE-23122
>                 URL: https://issues.apache.org/jira/browse/HIVE-23122
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: László Bodor
>            Assignee: László Bodor
>            Priority: Major
>         Attachments: HIVE-23122.01.patch
>
>
> TaskExecutorService maintains a waitQueue, and can evict a task in favor of 
> another. Under the hood, the queue uses a configurable 
> [comparator|https://github.com/apache/hive/tree/master/llap-server/src/java/org/apache/hadoop/hive/llap/daemon/impl/comparator].
>  The currently available comparators typically use the following properties 
> of a task(wrapper):
> getWithinDagPriority: related to vertex
> currentAttemptStartTime
> firstAttemptStartTime
> knownPending: remaining upstream tasks
> The problem is, when an eviction happens, the INFO level message doesn't 
> provide any insight about the decision, only attempts ids like below:
> {code}
> attempt_1585248378306_0010_72_02_000096_8 evicted from wait queue in favor of 
> attempt_1585248378306_0003_175_02_000079_175 because of lower priority
> {code}



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

Reply via email to