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

Tsz Wo Nicholas Sze updated HDFS-6796:
--------------------------------------

      Priority: Minor  (was: Major)
    Issue Type: Improvement  (was: Bug)

+1 patch looks good.

(You are right that we should use "<" but not "==".  Thanks.)

> Improving the argument check during balancer command line parsing
> -----------------------------------------------------------------
>
>                 Key: HDFS-6796
>                 URL: https://issues.apache.org/jira/browse/HDFS-6796
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: balancer
>    Affects Versions: 2.4.1
>            Reporter: Benoy Antony
>            Assignee: Benoy Antony
>            Priority: Minor
>         Attachments: HDFS-6796.patch, HDFS-6796.patch
>
>
> Currently balancer CLI parser simply checks if the total number of arguments 
> is greater than 2 inside the loop. Since the check does not include any loop 
> variables, it is not a proper check when there more than 2 arguments.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to