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

Hudson commented on HDFS-8923:
------------------------------

FAILURE: Integrated in Hadoop-trunk-Commit #9328 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/9328/])
HDFS-8923. Add -source flag to balancer usage message.  Contributed by 
(szetszwo: rev 46f77902368e5d8cc2d3e24de735b98a83ad46e1)
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
* 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/balancer/Balancer.java
Move HDFS-8923 to Release 2.8.0 in CHANGES.txt. (szetszwo: rev 
748b6c07fe29bf52510d2e84d82fcbef7f1bb35c)
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt


> Add -source flag to balancer usage message
> ------------------------------------------
>
>                 Key: HDFS-8923
>                 URL: https://issues.apache.org/jira/browse/HDFS-8923
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: balancer & mover, documentation
>            Reporter: Chris Trezzo
>            Assignee: Chris Trezzo
>            Priority: Trivial
>             Fix For: 2.8.0
>
>         Attachments: HDFS-8923-trunk-v1.patch, HDFS-8923-trunk-v2.patch, 
> HDFS-8923-trunk-v3.patch, HDFS-8923-trunk-v4.patch
>
>
> HDFS-8826 added a -source flag to the balancer, but the usage message still 
> needs to be updated. See current usage message in trunk:
> {code}
>    private static final String USAGE = "Usage: hdfs balancer"
>        + "\n\t[-policy <policy>]\tthe balancing policy: "
>        + BalancingPolicy.Node.INSTANCE.getName() + " or "
>        + BalancingPolicy.Pool.INSTANCE.getName()
>        + "\n\t[-threshold <threshold>]\tPercentage of disk capacity"
>        + "\n\t[-exclude [-f <hosts-file> | <comma-separated list of hosts>]]"
>        + "\tExcludes the specified datanodes."
>        + "\n\t[-include [-f <hosts-file> | <comma-separated list of hosts>]]"
>        + "\tIncludes only the specified datanodes."
>        + "\n\t[-idleiterations <idleiterations>]"
>        + "\tNumber of consecutive idle iterations (-1 for Infinite) before "
>        + "exit."
>        + "\n\t[-runDuringUpgrade]"
>        + "\tWhether to run the balancer during an ongoing HDFS upgrade."
>        + "This is usually not desired since it will not affect used space "
>        + "on over-utilized machines.";
> {code}



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

Reply via email to