/
Manual Failover Procedure (Replication)
Manual Failover Procedure (Replication)
To manually failover from the master to a slave cluster, follow these steps:
Stop all CDAP programs on the master cluster.
Stop CDAP on the master cluster.
Copy any HDFS files that have not yet been copied using either your distro's solution or
distcp
.Run the CDAP replication status tool to retrieve the cluster state:
[master] $ cdap run io.cdap.cdap.data.tools.ReplicationStatusTool -m -o /tmp/master_state
Copy the master state onto your slave cluster:
[master] $ scp /tmp/master_state <slave>:/tmp/master_state
Verify that replication has copied the required data onto the slave:
[slave] $ cdap run io.cdap.cdap.data.tools.ReplicationStatusTool -i /tmp/master_state ... Master and Slave Checksums match. HDFS Replication is complete. HBase Replication is complete.
Start CDAP on the slave:
[slave] $ cdap master start
, multiple selections available,
Related content
CDAP Hub Release Log
CDAP Hub Release Log
More like this
Optional Configuration in CDAP Custom Resource
Optional Configuration in CDAP Custom Resource
More like this
Development Environment Setup
Development Environment Setup
More like this
Hive Bulk Import Action (Deprecated)
Hive Bulk Import Action (Deprecated)
More like this
Apache Kudu Batch Source (Deprecated)
Apache Kudu Batch Source (Deprecated)
More like this
Google Dataproc
Google Dataproc
More like this
Created in 2020 by Google Inc.