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

László Bodor commented on HIVE-23122:
-------------------------------------

thanks for taking a look [~rajesh.balamohan]! are you sure that it's needed on 
DEBUG level? it's already on INFO level, and this logging only involves 
primitives, so an expectable amount of characters...perhaps we can  add the new 
extended line on DEBUG level, and the old one on INFO level?

> 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.02.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