[ https://issues.apache.org/jira/browse/HADOOP-7938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13195349#comment-13195349 ]
Todd Lipcon commented on HADOOP-7938: ------------------------------------- Another question - if you call transitionToStandby on a node that's already in standby, is it a no-op or does it throw an exception? If the latter, we need to fix that, or else the "failover" command wouldn't be safe to use when both NNs are in SB mode after startup. > HA: the FailoverController should optionally fence the active during failover > ----------------------------------------------------------------------------- > > Key: HADOOP-7938 > URL: https://issues.apache.org/jira/browse/HADOOP-7938 > Project: Hadoop Common > Issue Type: Sub-task > Components: ha > Affects Versions: HA Branch (HDFS-1623) > Reporter: Eli Collins > Assignee: Eli Collins > Fix For: HA Branch (HDFS-1623) > > Attachments: hadoop-7938.txt, hadoop-7938.txt > > > The FailoverController in HADOOP-7924 needs to be able to fence off the > current active in case it fails to transition to standby (or the user > requests it for sanity). This is needed even for manual failover (the CLI > should use the configured fencing mechanism). The FC needs to access the > HDFS-specific implementations HDFS-2179, could add a common fencing interface > (or just shell out but we may not always want to do that). -- 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