hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Daniel Cryans <jdcry...@apache.org>
Subject Re: Replication
Date Tue, 13 Jul 2010 17:56:03 GMT
> Thanks for info where i can find some documentation. There is info about
> zookeeper that it need running in standalone mode it is true?
>

Well you can run add_peer.rb when the clusters are running, but they
won't pickup the change live (that part isn't done yet). So if you run
the script while the cluster is running, restart it. Also take a look
at the region server log, it should output something like this when
starting up:

    LOG.info("This cluster (" + thisCluster + ") is a "
          + (this.replicationMaster ? "master" : "slave") + " for replication" +
          ", compared with (" + address + ")");

This will tell you if you used the right address for zookeeper. If
your region server on the master cluster thinks its a slave, then the
addresses are wrong. Also currently there's no reporting for
replication, since it's not done yet!

For a more in-depth documentation, check out
https://issues.apache.org/jira/browse/HBASE-2808

Thanks for trying this out, as the author of most of that part of the
code I'm thrilled!

J-D

Mime
View raw message