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

Jimmy Xiang commented on HBASE-10851:
-------------------------------------

[~stack], the 4.5 seconds pause is still there. I looked into assigning meta as 
soon as possible. However, it works in some cases, but not in other cases. For 
example, if a meta is assigned to a normal region server, and still in 
transition while the master fail over, we need to wait for this server to check 
in. It will be complicated if we special handle such corner cases.

I attached a patch that exclude those backup masters in counting the 
regionservers. The minimum regionservers to wait is changed from 1 to 2 so the 
active master is included. For standalone sever, the minimum regionservers to 
wait is set to 1.

> Wait for regionservers to join the cluster
> ------------------------------------------
>
>                 Key: HBASE-10851
>                 URL: https://issues.apache.org/jira/browse/HBASE-10851
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>            Priority: Critical
>         Attachments: hbase-10851.patch
>
>
> With HBASE-10569, if regionservers are started a while after the master, all 
> regions will be assigned to the master.  That may not be what users expect.
> A work-around is to always start regionservers before masters.
> I was wondering if the master can wait a little for other regionservers to 
> join.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to