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 2020/09/04 00:12:17 UTC

[GitHub] [hbase] infraio commented on a change in pull request #2326: HBASE-24967 The table.jsp cost long time to load if the table include…

infraio commented on a change in pull request #2326:
URL: https://github.com/apache/hbase/pull/2326#discussion_r483317183



##########
File path: hbase-server/src/main/resources/hbase-webapps/master/table.jsp
##########
@@ -655,12 +656,14 @@
 <%
   if (master.getAssignmentManager().isTableEnabled(table.getName())) {
     try {
-      CompactionState compactionState = admin.getCompactionState(table.getName()).get();
+      CompactionState compactionState = admin.getCompactionState(table.getName()).get(1, TimeUnit.SECONDS);

Review comment:
       1 sec is too short? And another way is: get the compaction state from master's memory and avoid rpc call.




----------------------------------------------------------------
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