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

Reply via email to