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

Karthik Kambatla commented on YARN-4107:
----------------------------------------

If it fails to connect to ZK, the fencing thread should fail and lead to the RM 
switching to standby state. If not, doing that is likely a better fix for this 
issue. No? 

> Both RM becomes Active if all zookeepers can not connect to active RM
> ---------------------------------------------------------------------
>
>                 Key: YARN-4107
>                 URL: https://issues.apache.org/jira/browse/YARN-4107
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: resourcemanager
>            Reporter: Xuan Gong
>            Assignee: Xuan Gong
>         Attachments: YARN-4107.1.patch
>
>
> Steps to reproduce:
> 1) Run small randomwriter applications in background
> 2) rm1 is active and rm2 is standby 
> 3) Disconnect all Zks and Active RM
> 4) Check status of both RMs. Both of them are in active state



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to