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

Rajesh Balamohan commented on HIVE-22966:
-----------------------------------------

Starvation of tasks waiting for resources within the same vertex is what is 
being targeted in this patch. As mentioned in the ticket, it is not deadlock 
that it is trying to fix.

Tasks across vertices does not come into picture as DAG priority takes care of 
it. Waiting time is intentionally used based on the existing set of metrics 
available.

> LLAP: Consider including waitTime for comparing attempts in same vertex
> -----------------------------------------------------------------------
>
>                 Key: HIVE-22966
>                 URL: https://issues.apache.org/jira/browse/HIVE-22966
>             Project: Hive
>          Issue Type: Improvement
>          Components: llap
>            Reporter: Rajesh Balamohan
>            Assignee: Rajesh Balamohan
>            Priority: Minor
>             Fix For: 4.0.0
>
>         Attachments: HIVE-22966.3.patch, HIVE-22966.4.patch
>
>
> When attempts are compared within same vertex, it should pick up the attempt 
> with longest wait time to avoid starvation.



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

Reply via email to