hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anu Engineer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11358) DiskBalancer: Report command supports reading nodes from host file
Date Mon, 20 Mar 2017 20:40:41 GMT

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

Anu Engineer commented on HDFS-11358:

[~linyiqun] My apologies for the time it took me to get to this JIRA. It looks pretty good
overall. Two small nits.

nit: Command.java: 280
	"Please make sure the host file is existed.
Please replace with
         "Please make sure the host file exists."

Should we throw an error if nodes is zero ? 
{code}      String[] nodes = nodeData.split(",");
      Collections.addAll(resultSet, nodes);

> DiskBalancer: Report command supports reading nodes from host file
> ------------------------------------------------------------------
>                 Key: HDFS-11358
>                 URL: https://issues.apache.org/jira/browse/HDFS-11358
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: diskbalancer
>    Affects Versions: 3.0.0-alpha2
>            Reporter: Yiqun Lin
>            Assignee: Yiqun Lin
>         Attachments: HDFS-11358.001.patch
> This is a improvement of JIRA HDFS-10821. In HDFS-10821, it supports the {{diskbalancer
report}} command can be executed with multiple nodes. But the multiple nodes are read from
a nodes string. It will be not good to use when the cluster is big enough. A better way we
can do is making that can be read from a host file as that has been done in many places in
HDFS(ex.  decommission, balancer). This JIRA focus on this point, and will makes this done
in diskbalancer.

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