You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Zheng Wang (Jira)" <ji...@apache.org> on 2020/08/29 06:30:00 UTC

[jira] [Updated] (HBASE-24967) The table.jsp cost long time to load if the table include closed regions

     [ https://issues.apache.org/jira/browse/HBASE-24967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zheng Wang updated HBASE-24967:
-------------------------------
    Description: 
The reason is that, the compaction state of table need to iterate all regions to call getRegionInfo, the default timeout for rpc is 5000ms, so if there exists closed reigons, this line will be blocked for long time.
{code:java}
CompactionState compactionState = admin.getCompactionState(table.getName()).get();{code}
My proposal is add a timeout for it.

  was:
The reason is that, the compaction state of table need to iterate all regions to call getRegionInfo, the default timeout for rpc is 5000ms, so if there exist closed reigons, this line will be blocked for long time.
{code:java}
CompactionState compactionState = admin.getCompactionState(table.getName()).get();{code}
My proposal is add a timeout for it.


> The table.jsp cost long time to load if the table include closed regions
> ------------------------------------------------------------------------
>
>                 Key: HBASE-24967
>                 URL: https://issues.apache.org/jira/browse/HBASE-24967
>             Project: HBase
>          Issue Type: Improvement
>          Components: UI
>            Reporter: Zheng Wang
>            Assignee: Zheng Wang
>            Priority: Major
>
> The reason is that, the compaction state of table need to iterate all regions to call getRegionInfo, the default timeout for rpc is 5000ms, so if there exists closed reigons, this line will be blocked for long time.
> {code:java}
> CompactionState compactionState = admin.getCompactionState(table.getName()).get();{code}
> My proposal is add a timeout for it.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)