HBASE-25069: Display region name instead of encoded region name in HBCK report page. (#2428)
Signed-off-by: Guanghao Zhang <zghao@apache.org>
This commit is contained in:
parent
4c9a92de28
commit
fd7260b506
|
@ -247,8 +247,8 @@
|
||||||
</tr>
|
</tr>
|
||||||
<% for (Pair<RegionInfo, RegionInfo> p : report.getHoles()) { %>
|
<% for (Pair<RegionInfo, RegionInfo> p : report.getHoles()) { %>
|
||||||
<tr>
|
<tr>
|
||||||
<td><span title="<%= p.getFirst() %>"><%= p.getFirst().getEncodedName() %></span></td>
|
<td><span title="<%= p.getFirst() %>"><%= p.getFirst().getRegionNameAsString() %></span></td>
|
||||||
<td><span title="<%= p.getSecond() %>"><%= p.getSecond().getEncodedName() %></span></td>
|
<td><span title="<%= p.getSecond() %>"><%= p.getSecond().getRegionNameAsString() %></span></td>
|
||||||
</tr>
|
</tr>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
||||||
|
@ -275,14 +275,14 @@
|
||||||
<% for (Pair<RegionInfo, RegionInfo> p : report.getOverlaps()) { %>
|
<% for (Pair<RegionInfo, RegionInfo> p : report.getOverlaps()) { %>
|
||||||
<tr>
|
<tr>
|
||||||
<% if (report.getMergedRegions().containsKey(p.getFirst())) { %>
|
<% if (report.getMergedRegions().containsKey(p.getFirst())) { %>
|
||||||
<td><span style="color:blue;" title="<%= p.getFirst() %>"><%= p.getFirst().getEncodedName() %></span></td>
|
<td><span style="color:blue;" title="<%= p.getFirst() %>"><%= p.getFirst().getRegionNameAsString() %></span></td>
|
||||||
<% } else { %>
|
<% } else { %>
|
||||||
<td><span title="<%= p.getFirst() %>"><%= p.getFirst().getEncodedName() %></span></td>
|
<td><span title="<%= p.getFirst() %>"><%= p.getFirst().getRegionNameAsString() %></span></td>
|
||||||
<% } %>
|
<% } %>
|
||||||
<% if (report.getMergedRegions().containsKey(p.getSecond())) { %>
|
<% if (report.getMergedRegions().containsKey(p.getSecond())) { %>
|
||||||
<td><span style="color:blue;" title="<%= p.getSecond() %>"><%= p.getSecond().getEncodedName() %></span></td>
|
<td><span style="color:blue;" title="<%= p.getSecond() %>"><%= p.getSecond().getRegionNameAsString() %></span></td>
|
||||||
<% } else { %>
|
<% } else { %>
|
||||||
<td><span title="<%= p.getSecond() %>"><%= p.getSecond().getEncodedName() %></span></td>
|
<td><span title="<%= p.getSecond() %>"><%= p.getSecond().getRegionNameAsString() %></span></td>
|
||||||
<% } %>
|
<% } %>
|
||||||
</tr>
|
</tr>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
@ -318,7 +318,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<% for (Pair<RegionInfo, ServerName> p: report.getUnknownServers()) { %>
|
<% for (Pair<RegionInfo, ServerName> p: report.getUnknownServers()) { %>
|
||||||
<tr>
|
<tr>
|
||||||
<td><span title="<%= p.getFirst() %>"><%= p.getFirst().getEncodedName() %></span></td>
|
<td><span title="<%= p.getFirst() %>"><%= p.getFirst().getRegionNameAsString() %></span></td>
|
||||||
<td><%= p.getSecond() %></td>
|
<td><%= p.getSecond() %></td>
|
||||||
</tr>
|
</tr>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
Loading…
Reference in New Issue