get_peer_config

Definition

Lists configuration parameters of the defined replication relationship (peer).

Usage

get_peer_config '<peer_id>'
Arguments
Parameter Description

peer_id

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

Examples

HBase clusters peer

hbase(main):002:0> get_peer_config '1'
 Cluster Key          serov-adh-1.ru-central1.internal,serov-adh-2.ru-central1.i
                      nternal,serov-adh-3.ru-central1.internal:2181:/hbase
Took 0.0017 seconds
=> #<Java::OrgApacheHadoopHbaseReplication::ReplicationPeerConfig:0x6dc2279c>

Custom replication endpoint

hbase(main):019:0> get_peer_config '2'
 Cluster Key                             bds-adh-1.ru-central1.internal,bds-adh-2.ru-central1.internal,bds-adh-3.ru-central1.internal:2181:/hbase
 Replication Endpoint                    test
 config1                                 value1
Took 0.0008 seconds
=> #<Java::OrgApacheHadoopHbaseReplication::ReplicationPeerConfig:0x4a4ff5ed>
Found a mistake? Seleсt text and press Ctrl+Enter to report it