[
https://issues.apache.org/jira/browse/HADOOP-7938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eli Collins updated HADOOP-7938:
--------------------------------
Attachment: hadoop-7938.txt
Updated patch attached.
Only fences fromSvc when needed or when forced via the force-fence options.
I punted on fencing on failback in the previous patch because it requires
HADOOP-7983 (to specify that you're now fencing toSvc). In this rev of the
patch I added fencing on failback, it and the tests get fixed up in the
HADOOP-7983 patch, which depends on this one.
I tested failover w/ and w/o force fence using the ssh fencer on a real cluster.
> 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