hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-7708) deprecated call in region_mover.rb causing high cpu utilization
Date Tue, 29 Jan 2013 21:19:13 GMT

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

stack updated HBASE-7708:
-------------------------

    Fix Version/s: 0.92.3

Marking for 0.92 (because of Matteo comment)
                
> 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 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

Mime
View raw message