[ https://issues.apache.org/jira/browse/HDFS-1972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13160528#comment-13160528 ]
Suresh Srinivas commented on HDFS-1972: --------------------------------------- My thoughts were a bit different from yours: # I wanted to change heart beat response to from an array of commands to HeartbeatResponse with set of commands in it. # HeartbeatResponse would also have other information - to start with it will have the state of the namenode. This will be used by Datanode node to handle active/standby transitions. HeartbeatResponse also come in addition, with being able to pass other information in the future (for example, current transactionID of the namenode etc.). What do you think? > HA: Datanode fencing mechanism > ------------------------------ > > Key: HDFS-1972 > URL: https://issues.apache.org/jira/browse/HDFS-1972 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: data-node, name-node > Reporter: Suresh Srinivas > Assignee: Todd Lipcon > > In high availability setup, with an active and standby namenode, there is a > possibility of two namenodes sending commands to the datanode. The datanode > must honor commands from only the active namenode and reject the commands > from standby, to prevent corruption. This invariant must be complied with > during fail over and other states such as split brain. This jira addresses > issues related to this, design of the solution and implementation. -- 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