Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

This document lists detailed steps required for setting up Replication for CDAP:

  1. Setup hbase-site.xml on ALL nodes:
    1. These properties need to be added. Choose Coprocessors based on the HBase version running on the cluster. In this example, its HBase 1.0. 

       <property>
       <name>hbase.replication</name>
       <value>true</value>
       </property>
       <property>
       <name>hbase.coprocessor.regionserver.classes</name>
       <value>co.cask.cdap.data2.replication.hbase10.LastReplicateTimeObserver</value>
       </property>
       <property>
       <name>hbase.coprocessor.wal.classes</name>
       <value>co.cask.cdap.data2.replication.hbase10.LastWriteTimeObserver</value>
       </property>
  2. The following steps are required for a secure cluster:
    1. Set up JAAS Configuration.
    2. Sync /etc/hosts on all the nodes
  3. SPI Setup:
    1. <>
  4. Restart HBase Master and Region Servers. 
  5. Setup HDFS Replication:
    1. This can be achieved by using hadoop tool distcp with regular intervals. For help on distcp check here
    2. For secure clusters, distcp can be run with cdap keytab. 
  6. Start CDAP on Master Cluster.
  7. Verify cdap Tables are created on both Master and Slave clusters. 

  • No labels