[ 
https://issues.apache.org/jira/browse/HDFS-14528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ravuri Sushma sree updated HDFS-14528:
--------------------------------------
    Comment: was deleted

(was: Thank you everyone for the discussion  
Chao Sun yes, as you are saying this can be a general issue where without  
observer also if  any of the standby namenode's zkfc is down we may encounter 
the same error.
I shall change the description and add an UT
As per current scenario, observer is not to be included  in failover (Observer 
to active)and hence this fix is skipping observer in phase 3  .
If multiple standby namenodes are present, with any  one of the  zkfc of 
standby namenode down,it can be skipped here as well ( when encountered 
connection refused)  will work on it and upload the patch here .Also, will 
update the summary and description of this jira with another UT for it 
accordingly)

> [SBN Read]Failover from Active to Standby Failed  
> --------------------------------------------------
>
>                 Key: HDFS-14528
>                 URL: https://issues.apache.org/jira/browse/HDFS-14528
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: ha
>            Reporter: Ravuri Sushma sree
>            Assignee: Ravuri Sushma sree
>            Priority: Major
>         Attachments: ZKFC_issue.patch
>
>
> *Started an HA Cluster with three nodes [ _Active ,Standby ,Observer_ ]*
> *When trying to exectue the failover command from active to standby* 
> *._/hdfs haadmin  -failover nn1 nn2, below Exception is thrown_*
>   Operation failed: Call From X-X-X-X/X-X-X-X to Y-Y-Y-Y:nnnn failed on 
> connection exception: java.net.ConnectException: Connection refused; For more 
> details see: [http://wiki.apache.org/hadoop/ConnectionRefused]
>  at sun.reflect.GeneratedConstructorAccessor7.newInstance(Unknown Source)
>  at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>  at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
>  at org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:831)
>  at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:755) 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to