Versions Compared

Key

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

...

  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. 

      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. 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.