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

Yang Yang commented on HDFS-1623:
---------------------------------

in the design docs, why is "fencing" needed? 
if the namenode uses ZK for leader election, it needs to have a Watcher on the 
ephemeral node, if the namenode loses its leader status, the Watcher should 
return "disconnect" or "node removed" event, so that the namenode can naturally 
shutdown itself. doesn't this achieve what is mentioned in the "fencing" 
paragraph?

> High Availability Framework for HDFS NN
> ---------------------------------------
>
>                 Key: HDFS-1623
>                 URL: https://issues.apache.org/jira/browse/HDFS-1623
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>            Reporter: Sanjay Radia
>            Assignee: Sanjay Radia
>         Attachments: HDFS-High-Availability.pdf, NameNode HA_v2.pdf, NameNode 
> HA_v2_1.pdf, Namenode HA Framework.pdf
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to