hbase-dev mailing list archives

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

             Summary: 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

Mime
View raw message