[
https://issues.apache.org/jira/browse/HIVE-23122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
László Bodor updated HIVE-23122:
--------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
> 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
> Components: llap
> Reporter: László Bodor
> Assignee: László Bodor
> Priority: Major
> Fix For: 4.0.0
>
> Attachments: HIVE-23122.02.patch, HIVE-23122.03.patch,
> HIVE-23122.03.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)