Class ReplicationAdmin

java.lang.Object
org.apache.hadoop.hbase.client.replication.ReplicationAdmin
All Implemented Interfaces:
Closeable, AutoCloseable

@Public @Deprecated public class ReplicationAdmin extends Object implements Closeable
Deprecated.
use Admin instead.

This class provides the administrative interface to HBase cluster replication.

Adding a new peer results in creating new outbound connections from every region server to a subset of region servers on the slave cluster. Each new stream of replication will start replicating from the beginning of the current WAL, meaning that edits from that past will be replicated.

Removing a peer is a destructive and irreversible operation that stops all the replication streams for the given cluster and deletes the metadata used to keep track of the replication state.

To see which commands are available in the shell, type replication.