You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Kyle Purtell (Jira)" <ji...@apache.org> on 2022/06/16 01:27:00 UTC
[jira] [Closed] (HBASE-7708) deprecated call in region_mover.rb causing high cpu utilization
[ https://issues.apache.org/jira/browse/HBASE-7708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Kyle Purtell closed HBASE-7708.
--------------------------------------
> deprecated call in region_mover.rb causing high cpu utilization
> ---------------------------------------------------------------
>
> Key: HBASE-7708
> URL: https://issues.apache.org/jira/browse/HBASE-7708
> Project: HBase
> Issue Type: Improvement
> Components: scripts
> Reporter: Eric Edgeworth
> Priority: Minor
> Fix For: 0.92.3
>
>
> We noticed high CPU utilization while using region_mover.rb to unload regions. Consulted with Stack, who suggested changing a line in region_mover.rb from (the deprecated):
> {code}
> table = getTable(admin.getConfiguration(), r.getTableDesc().getName())
> {code}
> to:
> {code}
> table = getTable(admin.getConfiguration(), r.getTableName())
> {code}
> In our tests this dropped CPU utilization from ~200% over the course of the unload to ~0.5% after startup, and allowed unload of ~200 regions to complete in ~7 minutes instead of the original ~18 minutes, so the change seems to fix the CPU utilization issue with no untoward side effects we could find.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)