[ https://issues.apache.org/jira/browse/HDFS-2679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13172240#comment-13172240 ]
Hudson commented on HDFS-2679: ------------------------------ Integrated in Hadoop-Hdfs-HAbranch-build #21 (See [https://builds.apache.org/job/Hadoop-Hdfs-HAbranch-build/21/]) HDFS-2679. Add interface to query current state to HAServiceProtocol. Contributed by Eli Collins. todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1220612 Files : * /hadoop/common/branches/HDFS-1623/hadoop-hdfs-project/hadoop-hdfs/CHANGES.HDFS-1623.txt * /hadoop/common/branches/HDFS-1623/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java * /hadoop/common/branches/HDFS-1623/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeRpcServer.java * /hadoop/common/branches/HDFS-1623/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/ActiveState.java * /hadoop/common/branches/HDFS-1623/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/HAState.java * /hadoop/common/branches/HDFS-1623/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/StandbyState.java > Add interface to query current state to HAServiceProtocol > ---------------------------------------------------------- > > Key: HDFS-2679 > URL: https://issues.apache.org/jira/browse/HDFS-2679 > Project: Hadoop HDFS > Issue Type: Sub-task > Affects Versions: HA branch (HDFS-1623) > Reporter: Eli Collins > Assignee: Eli Collins > Fix For: HA branch (HDFS-1623) > > Attachments: hdfs-2679.txt, hdfs-2679.txt, hdfs-2679.txt, > hdfs-2679.txt, hdfs-2679.txt > > > Let's add an interface to HAServiceProtocol to query the current state of a > NameNode for use by the the CLI (HAAdmin) and Web UI (HDFS-2677). This > essentially makes the names "active" and "standby" from ACTIVE_STATE and > STANDBY_STATE public interfaces, which IMO seems reasonable. Unlike the other > APIs we should be able to use the interface even when HA is not enabled (as > by default a non-HA NN is active). -- 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