[ 
https://issues.apache.org/jira/browse/YARN-2136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14095293#comment-14095293
 ] 

Varun Saxena commented on YARN-2136:
------------------------------------

[~jianhe], what I was talking about, was the fact that certain events may be 
queued up in dispatcher event queue while this RM is in Master. But when we 
close the State Store while switching to standby(on fencing), we will wait till 
all these events have been processed (queue is drained). Marking the state 
store as FENCED may avoid these events being processed. 

That is, let us say I have 5 events in the queue and 3rd event leads to 
Fencing. Then, the last 2 events will also be processed before switch to 
standby completes.

Your views on need for handling of this case ? 

> 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)

Reply via email to