You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Jian He (JIRA)" <ji...@apache.org> on 2015/07/31 01:32:04 UTC
[jira] [Commented] (YARN-3999) Add a timeout when drain the
dispatcher
[ https://issues.apache.org/jira/browse/YARN-3999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648484#comment-14648484 ]
Jian He commented on YARN-3999:
-------------------------------
Uploaded a patch which adds the timeout on draining the dispatcher. The value is set to be half of the am-rm-expiry-time.
Beyond that, I also changed the order of a couple of services which might take long time to flush the events on stop.
> Add a timeout when drain the dispatcher
> ---------------------------------------
>
> Key: YARN-3999
> URL: https://issues.apache.org/jira/browse/YARN-3999
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Jian He
> Assignee: Jian He
> Attachments: YARN-3999.patch
>
>
> If external systems like ATS, or ZK becomes very slow, draining all the events take a lot of time. If this time becomes larger than 10 mins, all applications will expire. We can add a timeout and stop the dispatcher even if not all events are drained.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)