HBASE-22773 when set blockSize option in Performance Evaluation tool, error occurs:ERROR: Unrecognized option/command: --blockSize=131072
Signed-off-by: huzheng <openinx@gmail.com>
This commit is contained in:
parent
d0e5ea1b87
commit
ff96485396
|
@ -2715,6 +2715,7 @@ public class PerformanceEvaluation extends Configured implements Tool {
|
||||||
final String blockSize = "--blockSize=";
|
final String blockSize = "--blockSize=";
|
||||||
if(cmd.startsWith(blockSize) ) {
|
if(cmd.startsWith(blockSize) ) {
|
||||||
opts.blockSize = Integer.parseInt(cmd.substring(blockSize.length()));
|
opts.blockSize = Integer.parseInt(cmd.substring(blockSize.length()));
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
final String valueSize = "--valueSize=";
|
final String valueSize = "--valueSize=";
|
||||||
|
|
Loading…
Reference in New Issue