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:
dingwei-2017 2019-08-05 11:05:45 +08:00 committed by huzheng
parent d094b70163
commit 90f27fe241
1 changed files with 1 additions and 0 deletions

View File

@ -2712,6 +2712,7 @@ public class PerformanceEvaluation extends Configured implements Tool {
final String blockSize = "--blockSize=";
if(cmd.startsWith(blockSize) ) {
opts.blockSize = Integer.parseInt(cmd.substring(blockSize.length()));
continue;
}
final String valueSize = "--valueSize=";