hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manoj Govindassamy (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11359) DFSAdmin report command supports displaying maintenance state datanodes
Date Wed, 31 May 2017 01:21:06 GMT

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

Manoj Govindassamy commented on HDFS-11359:

Thanks for the quick turnaround and providing the patch revision. 
v005 patch: +1, with a nit comment below

Good that you removed the old code duplication and created a new common method {{printDataNodeReports()}}.
You are passing the State's string also as an argument, which really can be retrieved from
{{AdminStates}}. Please check if you can make use of it. Maybe the AdminState's values are
not are exactly same as the one you wanted?

> DFSAdmin report command supports displaying maintenance state datanodes
> -----------------------------------------------------------------------
>                 Key: HDFS-11359
>                 URL: https://issues.apache.org/jira/browse/HDFS-11359
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode, namenode
>    Affects Versions: 3.0.0-alpha1
>            Reporter: Yiqun Lin
>            Assignee: Yiqun Lin
>            Priority: Minor
>         Attachments: HDFS-11359.001.patch, HDFS-11359.002.patch, HDFS-11359.003.patch,
HDFS-11359.004.patch, HDFS-11359.005.patch
> The datanode's maintenance state info can be showed in webUI/JMX. But it can't be displayed
via CLI. This JIRA will improve on this.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org

View raw message