hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stack <st...@duboce.net>
Subject Re: How can i test the Multi master environment?
Date Mon, 08 Aug 2011 22:27:30 GMT
On Mon, Aug 8, 2011 at 4:41 AM, shanmuganathan.r
<shanmuganathan.r@zohocorp.com> wrote:
> In the (i) case the whole hbase cluster is stopped.
>

Yes.

>
> In the (ii) case the master only killed but the Regionservers are not assign to the backup
master and the backup master is waiting for ZNode to be written
>

This is not right.  Whats supposed to happen is that the first
master's znode is meant to expire in zk and then the second master
assumes the original's role.  Did the first master come up fine.   You
waited long enough for the first master's znode to expire?

What version of hbase?


>
> In the (iii)  case also the master only killed but the Regionservers are not assign
to the backup master and the backup master is waiting for the ZNode to be written
>
>
> In the (ii) and (iii) cases, Is the master properly killed?


Yes. I'd think so.


> If the master is properly killed, than why the region servers are unable to connect to
the backup master ?

They are trying to connect to the first master and will continue so
until the master's address is updated in zk when the secondary assumes
master role.

St.Ack

Mime
View raw message