From d486bba630e7ea9060837adb64469c566c3c8621 Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Wed, 7 Nov 2018 21:05:54 -0800 Subject: [PATCH] HBASE-21452 Illegal character in hbase counters group name --- .../apache/hadoop/hbase/mapreduce/TableRecordReaderImpl.java | 2 +- .../java/org/apache/hadoop/hbase/ScanPerformanceEvaluation.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/TableRecordReaderImpl.java b/hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/TableRecordReaderImpl.java index 20c7b944e43..28f4da127da 100644 --- a/hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/TableRecordReaderImpl.java +++ b/hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/TableRecordReaderImpl.java @@ -53,7 +53,7 @@ public class TableRecordReaderImpl { // HBASE_COUNTER_GROUP_NAME is the name of mapreduce counter group for HBase @VisibleForTesting - static final String HBASE_COUNTER_GROUP_NAME = "HBase Counters"; + static final String HBASE_COUNTER_GROUP_NAME = "HBaseCounters"; private ResultScanner scanner = null; private Scan scan = null; private Scan currentScan = null; diff --git a/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/ScanPerformanceEvaluation.java b/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/ScanPerformanceEvaluation.java index 305930876fc..c181b197521 100644 --- a/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/ScanPerformanceEvaluation.java +++ b/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/ScanPerformanceEvaluation.java @@ -56,7 +56,7 @@ import org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine; @InterfaceAudience.LimitedPrivate(HBaseInterfaceAudience.TOOLS) public class ScanPerformanceEvaluation extends AbstractHBaseTool { - private static final String HBASE_COUNTER_GROUP_NAME = "HBase Counters"; + private static final String HBASE_COUNTER_GROUP_NAME = "HBaseCounters"; private String type; private String file;