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

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

It does depending on the wait time. Wait time is used as proxy to schedule the 
attempts. For e.g, without the patch, longest wait time of the attempt was 1430 
ms with running time of 528 ms (total of 1900+ms) in Q55. With patch, longest 
wait time was the attempt was 741 ms with running time of 700 ms (total of 
1500ms). Depending on when the attempt gets scheduled, it impacts overall 
runtime of the vertex. 
 Patch reduces starvation period for the task by fair comparison with wait time.

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