[ https://issues.apache.org/jira/browse/HADOOP-8279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Lipcon updated HADOOP-8279: -------------------------------- Attachment: hadoop-8279.txt Here's a preliminary patch for this, implementing the design as described in section 2.7.2 of the design doc. I'll do another rev hopefully tomorrow which includes better javadoc, some more tests, and some manual verification. The patch looks long but a lot of it is boilerplate (protocol translators) and test code. > Auto-HA: Allow manual failover to be invoked from zkfc. > ------------------------------------------------------- > > Key: HADOOP-8279 > URL: https://issues.apache.org/jira/browse/HADOOP-8279 > Project: Hadoop Common > Issue Type: Improvement > Components: ha > Affects Versions: Auto Failover (HDFS-3042) > Reporter: Mingjie Lai > Assignee: Todd Lipcon > Fix For: Auto Failover (HDFS-3042) > > Attachments: hadoop-8279.txt > > > HADOOP-8247 introduces a configure flag to prevent potential status > inconsistency between zkfc and namenode, by making auto and manual failover > mutually exclusive. > However, as described in 2.7.2 section of design doc at HDFS-2185, we should > allow manual and auto failover co-exist, by: > - adding some rpc interfaces at zkfc > - manual failover shall be triggered by haadmin, and handled by zkfc if auto > failover is enabled. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira