HDFS-16104. Remove unused parameter and fix java doc for DiskBalancerCLI (#3160). Contributed by tomscut.
Signed-off-by: Ayush Saxena <ayushsaxena@apache.org>
This commit is contained in:
parent
56c7ada7a5
commit
52b9319e57
@ -199,7 +199,7 @@ public int run(String[] args) throws Exception {
|
|||||||
"Invalid or extra Arguments: " + Arrays
|
"Invalid or extra Arguments: " + Arrays
|
||||||
.toString(Arrays.copyOfRange(cmdArgs, 2, cmdArgs.length)));
|
.toString(Arrays.copyOfRange(cmdArgs, 2, cmdArgs.length)));
|
||||||
}
|
}
|
||||||
return dispatch(cmd, opts);
|
return dispatch(cmd);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -469,10 +469,8 @@ public Command getCurrentCommand() {
|
|||||||
* Dispatches calls to the right command Handler classes.
|
* Dispatches calls to the right command Handler classes.
|
||||||
*
|
*
|
||||||
* @param cmd - CommandLine
|
* @param cmd - CommandLine
|
||||||
* @param opts options of command line
|
|
||||||
* @param out the output stream used for printing
|
|
||||||
*/
|
*/
|
||||||
private int dispatch(CommandLine cmd, Options opts)
|
private int dispatch(CommandLine cmd)
|
||||||
throws Exception {
|
throws Exception {
|
||||||
Command dbCmd = null;
|
Command dbCmd = null;
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user