You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2021/03/02 06:26:17 UTC

[GitHub] [hbase] anoopsjohn commented on a change in pull request #3005: HBASE-25540 ArrayIndexOutOfBoundsException thrown when table CF name is "#"

anoopsjohn commented on a change in pull request #3005:
URL: https://github.com/apache/hbase/pull/3005#discussion_r585292251



##########
File path: hbase-hadoop-compat/src/test/java/org/apache/hadoop/hbase/regionserver/MetricsTableWrapperStub.java
##########
@@ -117,13 +117,19 @@ public long getCpRequestsCount(String table) {
   public Map<String, Long> getMemstoreOnlyRowReadsCount(String table) {
     Map<String, Long> map = new HashMap<String, Long>();
     map.put("table#info", 3L);
+    map.put("table##", 3L);

Review comment:
       Do we have some assert where it make sure the metric is there with key <table name>#<cf name>?
   




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org