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] [Updated] (HDFS-10553) DiskBalancer: Rename Tools/DiskBalancer class to Tools/DiskBalancerCLI
Date Fri, 09 Sep 2016 00:15:20 GMT

     [ https://issues.apache.org/jira/browse/HDFS-10553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Manoj Govindassamy updated HDFS-10553:
--------------------------------------
    Attachment: HDFS-10553.002.patch

Attached v002 patch.

-- updated bin/hdfs script to contain the right class name {{DiskBalancerCLI}}
-- verified {{hdfs diskbalancer}} command launches the refactored class and help message shows
up

{noformat}
# echo $HADOOP_CONF_DIR 
HADOOP_CONF_DIR=/Users/manoj/work/ups-hadoop/hadoop-dist//target/hadoop-3.0.0-alpha2-SNAPSHOT/etc/hadoop

# hdfs diskbalancer
usage: hdfs diskbalancer [command] [options]

DiskBalancer distributes data evenly between different disks on a
datanode. DiskBalancer operates by generating a plan, that tells datanode
how to move data between disks. Users can execute a plan by submitting it
to the datanode.
To get specific help on a particular command please run
hdfs diskbalancer -help <command>.
    --help <arg>   valid commands are plan | execute | query | cancel |
                   report
{noformat}

Thanks for pointing out the script issue [~anu].

> DiskBalancer: Rename Tools/DiskBalancer class to Tools/DiskBalancerCLI
> ----------------------------------------------------------------------
>
>                 Key: HDFS-10553
>                 URL: https://issues.apache.org/jira/browse/HDFS-10553
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: balancer & mover
>    Affects Versions: 3.0.0-alpha2
>            Reporter: Anu Engineer
>            Assignee: Manoj Govindassamy
>            Priority: Minor
>         Attachments: HDFS-10553.001.patch, HDFS-10553.002.patch
>
>
> Rename the Tools/DiskBalancer, since we have server/DiskBalancer class. This is confusing
when reading code.



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

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


Mime
View raw message