You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by "shanmuganathan.r" <sh...@zohocorp.com> on 2011/07/29 15:20:35 UTC

Back_up Master operation?

Hi All,

      I am running the HBase in fully distributed mode. I want to improve my the HBase configuration. So I move to the Backup_Master. I include the conf/backup-masters file and i given the IP where i want to run the Backup-master. I start the hbase conventionally. The Master is running on the host where the HBase started and the host specified in the backup-masters file. 



      If I will kill the active master ,than How much time it will take to allocate the regionservers to the new master?


      Where I see the Backup-master runs properly ?


      Is there any configuration needed for the Zookeeper?


Thanks for your valuable reply......
      
Regards,

Shanmuganathan



Re: About Back_up Master?

Posted by Jean-Daniel Cryans <jd...@apache.org>.
Inline.

J-D

On Mon, Aug 1, 2011 at 12:26 AM, shanmuganathan.r
<sh...@zohocorp.com> wrote:
>      I am running the HBase in fully distributed mode. I want to improve my the HBase configuration. So I move to the Backup_Master. I include the conf/backup-masters file and i given the IP where i want to run the Backup-master. I start the hbase conventionally. The Master is running on the host where the HBase started and the host specified in the backup-masters file.

Good.

>      How much time it will take to allocate the regionservers to the new master when the active master is terminated?

Depends on your zookeeper timeout, the default we now ship with is 3
minutes (see zookeeper.session.timeout in hbase-default.xml).

>      Where I see the Backup-master runs properly ?

When it's acting as a backup, unfortunately only in its log. When it
takes the role of master, point your browser to it.

>      Is there any configuration changes in the Zookeeper for this back_up master?

Nope, it's all taken care of.

About Back_up Master?

Posted by "shanmuganathan.r" <sh...@zohocorp.com>.

Hi All,

      I am running the HBase in fully distributed mode. I want to improve my the HBase configuration. So I move to the Backup_Master. I include the conf/backup-masters file and i given the IP where i want to run the Backup-master. I start the hbase conventionally. The Master is running on the host where the HBase started and the host specified in the backup-masters file. 



      How much time it will take to allocate the regionservers to the new master when the active master is terminated?


      Where I see the Backup-master runs properly ?


      Is there any configuration changes in the Zookeeper for this back_up master?


Thanks for your valuable reply......
      
Regards,

Shanmuganathan





Re: Back_up Master operation?

Posted by Stack <st...@duboce.net>.
On Fri, Jul 29, 2011 at 6:20 AM, shanmuganathan.r
<sh...@zohocorp.com> wrote:
>      If I will kill the active master ,than How much time it will take to allocate the regionservers to the new master?
>

No regions are allocated when new master assumes master role.


>      Where I see the Backup-master runs properly ?
>

Check logs.


>
>      Is there any configuration needed for the Zookeeper?
>


I don't think so.


Changing hbase config on running cluster, you probably want to make
use of the rolling restart facility:
http://hbase.apache.org/book.html#decommission

St.Ack