You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Matteo Bertozzi (JIRA)" <ji...@apache.org> on 2013/01/29 20:21:16 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13565680#comment-13565680 ]
Matteo Bertozzi commented on HBASE-7708:
----------------------------------------
This was already fixed in 0.94/trunk with HBASE-6927
> 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
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira