[ https://issues.apache.org/jira/browse/YARN-3999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648786#comment-14648786 ]
Xuan Gong commented on YARN-3999: --------------------------------- Can we move {code} transitionToStandby(false); {code} before {code} super.serviceStop(); {code} in that case, when we shut dow the RM, we transit RM to standby first (stop all the active services), then stop all the alway-on services ? > 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, 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)