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:
[email protected]