remove_peer_namespaces

Definition

Removes namespaces from the replication relationship (peer) configuration.

Usage

remove_peer_namespaces '<peer_id>', <namespaces_array[]>
Arguments
Parameter Description

peer_id

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

namespaces_array

An array of strings specified in the format '<namespace_name>', where <namespace_name> — a namespace name

Examples

hbase(main):022:0> list_peers
 PEER_ID CLUSTER_KEY ENDPOINT_CLASSNAME STATE REPLICATE_ALL NAMESPACES TABLE_CFS BANDWIDTH
 1 serov-adh-1.ru-central1.internal,serov-adh-2.ru-central1.internal,serov-adh-3.ru-central1.internal:2181:/hbase  ENABLED false ns1 default.articles 0
1 row(s)
Took 0.0090 seconds
=> #<Java::JavaUtil::ArrayList:0x1e5b33e5>
hbase(main):002:0> remove_peer_namespaces '1', ['ns1']
Took 0.0269 seconds
hbase(main):003:0> list_peers
 PEER_ID CLUSTER_KEY ENDPOINT_CLASSNAME STATE REPLICATE_ALL NAMESPACES TABLE_CFS BANDWIDTH
 1 serov-adh-1.ru-central1.internal,serov-adh-2.ru-central1.internal,serov-adh-3.ru-central1.internal:2181:/hbase  ENABLED false  default.articles 0
1 row(s)
Took 0.0060 seconds
=> #<Java::JavaUtil::ArrayList:0x7645b7d>
Found a mistake? Seleсt text and press Ctrl+Enter to report it