Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.7.1
-
None
-
Reviewed
Description
$ hadoop dfsadmin -setBalancerBandwidth -10000
does not throw any message that it is invalid although in DN log we are not getting
"DNA_BALANCERBANDWIDTHUPDATE".
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>]