[
https://issues.apache.org/jira/browse/HBASE-5914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
chunhui shen updated HBASE-5914:
--------------------------------
Attachment: HBASE-5914v3.patch
Patch v3 change the method name from quickAssign to assign.
All failed tests are passed.
Also, I have done a performance test.
2012-05-09 14:29:45,364 INFO
org.apache.hadoop.hbase.master.handler.ServerShutdownHandler:
Recovery time calculation: reassigning 4000 regions, took 14847ms
2012-05-09 14:38:00,695 INFO
org.apache.hadoop.hbase.master.handler.ServerShutdownHandler:
Recovery time calculation: reassigning 4001 regions, took 3242ms
With the patch, the took time of reassigning 4000 regions in the process of
SSH is reduced from 14s to 3s.
> Bulk assign regions in the process of ServerShutdownHandler
> -----------------------------------------------------------
>
> Key: HBASE-5914
> URL: https://issues.apache.org/jira/browse/HBASE-5914
> Project: HBase
> Issue Type: Improvement
> Reporter: chunhui shen
> Assignee: chunhui shen
> Fix For: 0.96.0
>
> Attachments: HBASE-5914.patch, HBASE-5914v2.patch, HBASE-5914v3.patch
>
>
> In the process of ServerShutdownHandler, we currently assign regions singly.
> In the large cluster, one regionserver always carried many regions, this
> action is quite slow.
> What about using bulk assign regions like cluster start up.
> In current logic, if we failed assigning many regions to one destination
> server, we will wait unitl timeout,
> however in the process of ServerShutdownHandler, we should retry it to
> another server.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira