[ https://issues.apache.org/jira/browse/YARN-2136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14097402#comment-14097402 ]
Varun Saxena commented on YARN-2136: ------------------------------------ Yes, completely agree with you [~jianhe]. dispatcher.stop() will cause events in dispatcher queue(if any) to be processed first. These events would be lost if we call closeInternal() before dispatcher.stop() > RMStateStore can explicitly handle store/update events when fenced > ------------------------------------------------------------------ > > Key: YARN-2136 > URL: https://issues.apache.org/jira/browse/YARN-2136 > Project: Hadoop YARN > Issue Type: Bug > Reporter: Jian He > > RMStateStore can choose to handle/ignore store/update events upfront instead > of invoking more ZK operations if state store is at fenced state. -- This message was sent by Atlassian JIRA (v6.2#6252)