From 3708198817e34bf67997c812b7f1fcef8119005a Mon Sep 17 00:00:00 2001 From: Wellington Chevreuil Date: Fri, 26 Jul 2019 21:18:50 +0100 Subject: [PATCH] HBASE-21773 rowcounter utility should respond to pleas for help Signed-off-by: stack --- .../hadoop/hbase/util/AbstractHBaseTool.java | 2 +- .../hadoop/hbase/mapreduce/RowCounter.java | 243 ++++++++++-------- .../hbase/mapreduce/TestRowCounter.java | 81 ++++-- 3 files changed, 194 insertions(+), 132 deletions(-) diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/util/AbstractHBaseTool.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/util/AbstractHBaseTool.java index b4548844ea4..b0a1ca6af0f 100644 --- a/hbase-common/src/main/java/org/apache/hadoop/hbase/util/AbstractHBaseTool.java +++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/util/AbstractHBaseTool.java @@ -67,7 +67,7 @@ public abstract class AbstractHBaseTool implements Tool { private HashMap optionsOrder = new HashMap<>(); private int optionsCount = 0; - private class OptionsOrderComparator implements Comparator