You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ps...@apache.org on 2019/07/30 08:11:45 UTC
[hbase] 01/02: Revert "HBASE-22751 table.jsp fails if ugly regions
in table"
This is an automated email from the ASF dual-hosted git repository.
psomogyi pushed a commit to branch branch-2.2
in repository https://gitbox.apache.org/repos/asf/hbase.git
commit 967a409bef7d121e41ad7fc9c27258275820cc1d
Author: Peter Somogyi <ps...@apache.org>
AuthorDate: Tue Jul 30 09:54:49 2019 +0200
Revert "HBASE-22751 table.jsp fails if ugly regions in table"
This reverts commit b7d98570fd154c901109c01bec051c9c5831bf5d.
---
hbase-server/src/main/resources/hbase-webapps/master/table.jsp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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 06ba4df..c0138ca 100644
--- a/hbase-server/src/main/resources/hbase-webapps/master/table.jsp
+++ b/hbase-server/src/main/resources/hbase-webapps/master/table.jsp
@@ -248,7 +248,8 @@ if (fqtn != null && master.isInitialized()) {
</tbody>
</table>
<%} else {
- RegionLocator r = master.getConnection().getRegionLocator(table.getName());
+ Admin admin = master.getConnection().getAdmin();
+ RegionLocator r = master.getClusterConnection().getRegionLocator(table.getName());
try { %>
<h2>Table Attributes</h2>
<table class="table table-striped">