You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Eli Collins (Created) (JIRA)" <ji...@apache.org> on 2011/12/14 08:08:30 UTC

[jira] [Created] (HDFS-2679) Add interface to query current state to HAServiceProtocol

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


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

        

[jira] [Resolved] (HDFS-2679) Add interface to query current state to HAServiceProtocol

Posted by "Todd Lipcon (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-2679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Lipcon resolved HDFS-2679.
-------------------------------

       Resolution: Fixed
    Fix Version/s: HA branch (HDFS-1623)
     Hadoop Flags: Reviewed
    
> 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