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

Suresh Srinivas commented on HDFS-2141:
---------------------------------------

NameNode is the name of the daemon. Active and standby are the states of the a 
namenode.

Having a backup node, which starts out to be standby and can also become active 
is confusing. Active and backup should just be states of the namenode it can 
transition back and forth. To this regard, I had many comments in HADOOP-4539 
which introduced Backup node.

Long term purpose of this change is, as described before, to make active and 
standby states of the namenode.

I am open to doing all this work in HDFS-1623 branch. 

> Remove NameNode roles Active and Standby (they become states)
> -------------------------------------------------------------
>
>                 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

        

Reply via email to