org.apache.hadoop.hbase.replication.regionserver
Class ReplicationSyncUp
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.hadoop.hbase.replication.regionserver.ReplicationSyncUp
- All Implemented Interfaces:
- org.apache.hadoop.conf.Configurable, org.apache.hadoop.util.Tool
public class ReplicationSyncUp
- extends org.apache.hadoop.conf.Configured
- implements org.apache.hadoop.util.Tool
In a scenario of Replication based Disaster/Recovery, when hbase
Master-Cluster crashes, this tool is used to sync-up the delta from Master to
Slave using the info from Zookeeper. The tool will run on Master-Cluser, and
assume ZK, Filesystem and NetWork still available after hbase crashes
hbase org.apache.hadoop.hbase.replication.regionserver.ReplicationSyncUp
Methods inherited from class org.apache.hadoop.conf.Configured |
getConf, setConf |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.hadoop.conf.Configurable |
getConf, setConf |
ReplicationSyncUp
public ReplicationSyncUp()
setConfigure
public static void setConfigure(org.apache.hadoop.conf.Configuration config)
main
public static void main(String[] args)
throws Exception
- Main program
- Parameters:
args
-
- Throws:
Exception
run
public int run(String[] args)
throws Exception
- Specified by:
run
in interface org.apache.hadoop.util.Tool
- Throws:
Exception
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.