You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Kuhu Shukla (JIRA)" <ji...@apache.org> on 2016/03/31 05:15:25 UTC

[jira] [Updated] (TEZ-3077) TezClient.waitTillReady should support timeout

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

Kuhu Shukla updated TEZ-3077:
-----------------------------
    Attachment: TEZ-3077.002.patch

Thank you so much [~sseth] for the review comments. Apologies for the delay.

I have attached a revised patch and added a new waitTillReady and preWarm method. Currently the sleep time is decided as either the diff of SLEEP_FOR_READY and timeout if SLEEP_FOR_READY is greater. This could lead to more sleeps  if the difference between the two is very small. I wonder if setting it to a fraction of the client timeout like 1/3 (in case of some yarn NM timeouts) may be a better idea?

The older waitTillReady calls the new one with value 0.


> TezClient.waitTillReady should support timeout
> ----------------------------------------------
>
>                 Key: TEZ-3077
>                 URL: https://issues.apache.org/jira/browse/TEZ-3077
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Sergey Shelukhin
>            Assignee: Kuhu Shukla
>         Attachments: TEZ-3077.001.patch, TEZ-3077.002.patch
>
>
> Also preWarm.



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