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 d0e5ea1b87
commit ff96485396
1 changed files with 1 additions and 0 deletions

View File

@ -2715,6 +2715,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=";