hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yiqun Lin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-10821) DiskBalancer: Report command support with multiple nodes
Date Fri, 09 Sep 2016 13:01:21 GMT

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

Yiqun Lin commented on HDFS-10821:

ReUpload the v003 patch. I found there was need to print the line {{Can't find a DataNode
that matches '%s'.}} here if we have already print the invalid nodes.

> DiskBalancer: Report command support with multiple nodes
> --------------------------------------------------------
>                 Key: HDFS-10821
>                 URL: https://issues.apache.org/jira/browse/HDFS-10821
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: balancer & mover
>            Reporter: Yiqun Lin
>            Assignee: Yiqun Lin
>             Fix For: 2.9.0
>         Attachments: HDFS-10821.001.patch, HDFS-10821.002.patch, HDFS-10821.003.patch
> Since HDFS-10813 has committed to the trunk, then we can use {{getNodes}} method to parse
the nodes string and support multiple nodes with {{hdfs diskbalancer}} subcommands(ex -report,
-query). In this JIRA, we are focusing on the subcommand {{-report}}.
> That means we can use command {{hdfs diskbalancer -report -node}} to print one or one
more datanodes report info. A test input command(here I use UUID to specify one datanode):
> {code}
> hdfs diskbalancer -report -node e05ade8e-fb28-42cf-9aa9-43e564c0ec99,38714337-84fb-4e35-9ea3-0bb47d6da700
> {code}

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