hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajit Saha (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-2390) dfsadmin -setBalancerBandwidth doesnot validate -ve value
Date Fri, 30 Sep 2011 18:25:45 GMT
dfsadmin -setBalancerBandwidth doesnot validate -ve value

                 Key: HDFS-2390
                 URL: https://issues.apache.org/jira/browse/HDFS-2390
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: balancer
    Affects Versions:
            Reporter: Rajit Saha

$ hadoop dfsadmin -setBalancerBandwidth -10000 

does not throw any message that it is invalid although in DN log we are not getting

I think it should throw some message that -ve numbers are not valid , as it does
for decimal numbers or non-numbers like -

$ hadoop dfsadmin -setBalancerBandwidth 12.34
NumberFormatException: For input string: "12.34"
Usage: java DFSAdmin [-setBalancerBandwidth <bandwidth in bytes per second>]

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message