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

Yuanbo Liu commented on HADOOP-13933:
-------------------------------------

[~surendrasingh] Thanks for your new patch.
{code}
.put("-getAllServiceState",
        new UsageInfo(null, "Returns the state of all the services"))
{code}
I'm wondering if we can use {{""}} instead of {{null}} so that we can get rid 
of some null condition code, but I'm cool with the {{null}} parameter if you 
want to keep it.

> Add haadmin command to get HA state of all the namenodes
> --------------------------------------------------------
>
>                 Key: HADOOP-13933
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13933
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: tools
>    Affects Versions: 2.7.1
>            Reporter: Surendra Singh Lilhore
>            Assignee: Surendra Singh Lilhore
>         Attachments: HADOOP-13933.002.patch, HDFS-9559.01.patch
>
>
> Currently we have one command to get state of namenode.
> {code}
> ./hdfs haadmin -getServiceState <serviceId>
> {code}
> It will be good to have command which will give state of all the namenodes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to