[ https://issues.apache.org/jira/browse/HDFS-2141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Suresh Srinivas updated HDFS-2141: ---------------------------------- Attachment: HDFS-2141.1.patch > But note that this patch doesn't change the description (and thus the result > of NamenodeRole.toString()) for NamenodeRole.ACTIVE. So, the metrics should > be unaffected from a user's point of view, correct? Hmm for some reason I thought it had ACTIVE before. You are right. I have attached new patch with indentation change. If you +1 it, I will commit it on Hudson validation. > 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 > Fix For: 0.23.0 > > Attachments: HDFS-2141.1.patch, 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