From ff96485396859beaa3464c0a3833d19923a31229 Mon Sep 17 00:00:00 2001 From: dingwei-2017 Date: Mon, 5 Aug 2019 11:05:45 +0800 Subject: [PATCH] HBASE-22773 when set blockSize option in Performance Evaluation tool, error occurs:ERROR: Unrecognized option/command: --blockSize=131072 Signed-off-by: huzheng --- .../test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java | 1 + 1 file changed, 1 insertion(+) diff --git a/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java b/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java index 7972da02ca5..9da0cadb40f 100644 --- a/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java +++ b/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java @@ -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=";