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

Switch to Threaded View
HBase >> mail # dev >> how to get ZooKeeperWatcher info ?

Copy link to this message
Re: how to get ZooKeeperWatcher info ?
yeah. the tool will be applied when hbase on master cluster is down. In the
case that user decides not to restart hbase(for whatever reason), the tool
will be used to push the pending Edits over to slave peers.

I will look into RecoverableZooKeeper. thanks for the suggestion

On Mon, Aug 19, 2013 at 11:09 AM, Stack <[EMAIL PROTECTED]> wrote:

> On Sun, Aug 18, 2013 at 11:37 AM, Demai Ni <[EMAIL PROTECTED]> wrote:
> > St.Ack and Ted,
> >
> > many thanks for your help and suggestions on this question. I am working
> > HBASE-9047 while encountering this question. To provide a whole picture
> of
> > what I am looking for, I uploaded the prototype code and some background
> > info over there(
> > https://issues.apache.org/jira/browse/HBASE-9047#comment-13743322).
> > Basically, I am looking for a way to get the original zookeeper when
> hbase
> > is offline, so that a new replicationManager can be created and
> consolidate
> > the pending replication Edits, once get them, the replicationManger will
> do
> > its magic using the logic as if hbase is restarting. will
> > RecoverableZooKeeper instance have the access to the replication info
> from
> > original zookeeper?
> >
> hbase is down at this time?
> The replication state is kept out in zk so yeah, any connection to zk will
> have a view on current state of replication.
> St.Ack