[
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: [email protected]
For additional commands, e-mail: [email protected]