You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2019/07/29 22:14:56 UTC
[hbase] 02/02: HBASE-22751 table.jsp fails if ugly regions in table
This is an automated email from the ASF dual-hosted git repository.
stack pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git
commit d23236a4522fafa556ba0e6530fe08e399cd97a0
Author: stack <st...@apache.org>
AuthorDate: Fri Jul 26 21:32:37 2019 -0700
HBASE-22751 table.jsp fails if ugly regions in table
---
hbase-server/src/main/resources/hbase-webapps/master/table.jsp | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/hbase-server/src/main/resources/hbase-webapps/master/table.jsp b/hbase-server/src/main/resources/hbase-webapps/master/table.jsp
index e98167e..555ae08 100644
--- a/hbase-server/src/main/resources/hbase-webapps/master/table.jsp
+++ b/hbase-server/src/main/resources/hbase-webapps/master/table.jsp
@@ -251,8 +251,7 @@ if (fqtn != null && master.isInitialized()) {
</tbody>
</table>
<%} else {
- Admin admin = master.getConnection().getAdmin();
- RegionLocator r = master.getClusterConnection().getRegionLocator(table.getName());
+ RegionLocator r = master.getConnection().getRegionLocator(table.getName());
try { %>
<h2>Table Attributes</h2>
<table class="table table-striped">