Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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 below its HBase 1.0. 

      Code Block
       <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. These steps are required for a secure cluster:
    1. Set up JAAS Configuration.
    2. Sync /etc/hosts on all the nodes