[ https://issues.apache.org/jira/browse/HDFS-2141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13067382#comment-13067382 ]
Suresh Srinivas commented on HDFS-2141: --------------------------------------- The only concern I have is - the metrics is started with current NamenodeRole.ACTIVE. This one changes it to NamenodeRole.NAMENODE. Hence I was waiting for committing this to HDFS-1623 branch. The metrics thing would become clear as we implement more of HA functionality. Any comments? > We might even consider merging HdfsConstants.NodeType and > HdfsConstants.NameNodeRole, since being a DN is certainly mutually exclusive > with all of the NameNodeRoles, but that should probably be done as a separate > JIRA. I like this. We could just have NodeType with NameNode, DataNode, Backup and Checkpointer? > Remove NameNode roles Active and Standby > ---------------------------------------- > > Key: HDFS-2141 > URL: https://issues.apache.org/jira/browse/HDFS-2141 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: name-node > Reporter: Suresh Srinivas > Assignee: Suresh Srinivas > Attachments: HDFS-2141.patch > > > In HDFS, following roles are supported in NameNodeRole: ACTIVE, BACKUP, > CHECKPOINT and STANDBY. > Active and Standby are the state of the NameNode. While Backup and CheckPoint > are the name/role of the daemons that are started. This mixes up the run time > state of NameNode with the daemon role. I propose changing the NameNodeRole > to: NAMENODE, BACKUP, CHECKPOINT. HDFS-1974 will introduce the states active > and standby to the daemon that is running in the role NAMENODE. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira