Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase, mail # user - multiple masters


Copy link to this message
-
Re: multiple masters
Weishung Chung 2011-01-28, 16:52
Correct me if I am wrong :)
In HConnectionManager, it seems to me that a zookeeper instance is used to
get to the HBase master for META and ROOT info. What would happen if HBase
master became unavailable? Would zookeeper be able to get the ROOT and META
info from another backup/replicated master? Sorry because I haven't got a
chance to browse deeper in the zookeeper codes yet :(

On Fri, Jan 28, 2011 at 10:35 AM, Stack <[EMAIL PROTECTED]> wrote:

> On Fri, Jan 28, 2011 at 8:10 AM, Weishung Chung <[EMAIL PROTECTED]>
> wrote:
> > Is zookeeper responsible for the backup/replication of -ROOT- and .META.
> > files?
>
> No.  These are kept in HDFS and rely on its replication.
>
> > It looks like I need multiple HBase masters setup to achieve high
> > availability. In the multiple masters setup, would there be any data loss
> in
> > the switch over after the first master became unavailable.
> >
>
> No.  Master is not in the read/write path.  Cluster can continue
> responding to read/writes even when Master(s) is (are) down.
> St.Ack
>