Varun Saxena commented on YARN-2136:

Thanks [~jianhe]. I will work on it. 
What I will do is as under :
1. Add a FENCED state in state machine.
2. When fencing happens, switch state to FENCED. RM will switch to standby as 
3. Do nothing for Store and Update events if we are in FENCED state.
4. Reset state to DEFAULT when this RM switches back to Active.

> 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

Reply via email to