[ 
https://issues.apache.org/jira/browse/TEZ-2149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Siddharth Seth updated TEZ-2149:
--------------------------------
    Attachment: TEZ-2149.1.txt

Patch adds a notify in the AM to return early instead of the sleep. Also 
changes the waitUntilCompletion methods to use this API instead of an explicit 
sleep.

[~bikassaha], [~hitesh], [~pramachandran] - please review.

> Optimizations for the timed version of DAGClient.getStatus
> ----------------------------------------------------------
>
>                 Key: TEZ-2149
>                 URL: https://issues.apache.org/jira/browse/TEZ-2149
>             Project: Apache Tez
>          Issue Type: Improvement
>            Reporter: Siddharth Seth
>            Assignee: Siddharth Seth
>         Attachments: TEZ-2149.1.txt
>
>
> From 
> https://issues.apache.org/jira/browse/TEZ-1967?focusedCommentId=14325037&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14325037
> - The sleep within the AM can be improved via monitors.
> - INITED state is returned when communicating with the AM, SUBMITTED state is 
> returned when communicating with the RM. That could be used to optimize the 
> flow.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to