disable_peer

Definition

Disables the specified replication relationship (peer). HBase will no longer send the replication stream to the destination cluster (specified in the peer), but it will still keep track of all new WALs, which are necessary for replication if and when the peer will be re-enabled. When enabling or disabling replication, the WALs are retained as long as the peer exists.

TIP
If you want to stop the replication stream permanently, use the remove_peer command instead.

Usage

disable_peer '<peer_id>'
Arguments
Parameter Description

peer_id

A unique identifier of the replication peer. Should not contain hyphens

Examples

hbase(main):013:0> disable_peer '1'
Took 0.0179 seconds
Found a mistake? Seleсt text and press Ctrl+Enter to report it