hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "chunhui shen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-5914) Bulk assign regions in the process of ServerShutdownHandler
Date Thu, 03 May 2012 03:04:03 GMT

    [ https://issues.apache.org/jira/browse/HBASE-5914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13267134#comment-13267134
] 

chunhui shen commented on HBASE-5914:
-------------------------------------

bq.how do we know that regions have been assigned ?
We don't need wait until regions assigned, and  quickAssign() just ensure the rpc of open
region is sent successfully.
For example, in current process of ServerShutdownHandler, it just call AssignmentManager#assign(region,
true)(return void) and didn't wait 
                
> 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
>
>
> 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

        

Mime
View raw message