Managing HBase replication policies using CDP CLI
You can use CDP CLI commands to manage HBase replication policies.
-
Pause an active HBase replication policy:
cdp --profile [***PROFILE NAME***] replicationmanager suspend-hbase-policy --cluster-crn [***TARGET CLUSTER CRN***] --policy-id [***POLICY ID***] -
Change the name and description, and delete one or more tables in the HBase
replication policy:
cdp --profile [***PROFILE NAME***] replicationmanager update-hbase-policy --cluster-crn [***TARGET CLUSTER CRN***] --policy-id [***POLICY ID***] --update-hbase-policy-definition name=[***STRING***],description=[***STRING***],tables=[***STRING,STRING...***] -
Delete an HBase replication policy:
When the source cluster is not reachable, the error
cdp --profile [***PROFILE NAME***] replicationmanager delete-hbase-policy --cluster-crn [***TARGET CLUSTER CRN***] --policy-id [***POLICY ID***] [--force] [--no-force]Default is
--no-force.HBase peer not foundappears. In this instance, you can append the--forceoption to delete the HBase replication policy.
