From fd7260b506be2ce7abed8a79e0b7e9f05fc7c248 Mon Sep 17 00:00:00 2001 From: Mohammad Arshad Date: Sun, 20 Sep 2020 06:30:28 +0530 Subject: [PATCH] HBASE-25069: Display region name instead of encoded region name in HBCK report page. (#2428) Signed-off-by: Guanghao Zhang --- .../main/resources/hbase-webapps/master/hbck.jsp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/hbase-server/src/main/resources/hbase-webapps/master/hbck.jsp b/hbase-server/src/main/resources/hbase-webapps/master/hbck.jsp index 12757c6ad5e..69b95e1a118 100644 --- a/hbase-server/src/main/resources/hbase-webapps/master/hbck.jsp +++ b/hbase-server/src/main/resources/hbase-webapps/master/hbck.jsp @@ -247,8 +247,8 @@ <% for (Pair p : report.getHoles()) { %> - <%= p.getFirst().getEncodedName() %> - <%= p.getSecond().getEncodedName() %> + <%= p.getFirst().getRegionNameAsString() %> + <%= p.getSecond().getRegionNameAsString() %> <% } %> @@ -275,14 +275,14 @@ <% for (Pair p : report.getOverlaps()) { %> <% if (report.getMergedRegions().containsKey(p.getFirst())) { %> - <%= p.getFirst().getEncodedName() %> + <%= p.getFirst().getRegionNameAsString() %> <% } else { %> - <%= p.getFirst().getEncodedName() %> + <%= p.getFirst().getRegionNameAsString() %> <% } %> <% if (report.getMergedRegions().containsKey(p.getSecond())) { %> - <%= p.getSecond().getEncodedName() %> + <%= p.getSecond().getRegionNameAsString() %> <% } else { %> - <%= p.getSecond().getEncodedName() %> + <%= p.getSecond().getRegionNameAsString() %> <% } %> <% } %> @@ -318,7 +318,7 @@ <% for (Pair p: report.getUnknownServers()) { %> - <%= p.getFirst().getEncodedName() %> + <%= p.getFirst().getRegionNameAsString() %> <%= p.getSecond() %> <% } %>