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

Xuan Gong edited comment on YARN-4107 at 10/21/15 9:29 PM:
-----------------------------------------------------------

Offline discussed this with [~kasha]. The approach in attached patch is too 
aggressive. 

bq. If it fails to connect to ZK, the fencing thread should fail and lead to 
the RM switching to standby state

Yes, it is.

To fix the described issue, tune the configuration might be a better solution 
for now.

Close this as WON'T FIX. 


was (Author: xgong):
Offline discussed this with [~kasha]. The approach in attached patch is too 
aggressive. 

bq. If it fails to connect to ZK, the fencing thread should fail and lead to 
the RM switching to standby state

Yes, it is.

To fix the described issue, tune the configuration might be a better solution 
for now.

Close this as invalid. 

> 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