Configure read replicas using Cloudera Manager

You can configure read replicas using Cloudera Manager.

  1. Before you can use replication to keep replicas current, you must set the column attribute REGION_MEMSTORE_REPLICATION to false for the HBase table, using HBase Shell or the client API.
  2. In Cloudera Manager, select the HBase service.
  3. Click the Configuration tab.
  4. Select Scope > HBase or HBase Service-Wide.
  5. Select Category > Advanced.
  6. Locate the HBase Service Advanced Configuration Snippet (Safety Valve) for hbase-site.xml property or search for it by typing its name in the Search box.
  7. Create a configuration and paste it into the text field. The following example configuration demonstrates the syntax:
    <property>
      <name>hbase.regionserver.storefile.refresh.period</name>
      <value>0</value>
    </property>
    <property>
      <name>hbase.ipc.client.allowsInterrupt</name>
      <value>true</value>
      <description>Whether to enable interruption of RPC threads at the client. The default value of true is
        required to enable Primary RegionServers to access other RegionServers in secondary mode. </description>
    </property>
    <property>
      <name>hbase.client.primaryCallTimeout.get</name>
      <value>10</value>
    </property>
    <property>
      <name>hbase.client.primaryCallTimeout.multiget</name>
      <value>10</value>
    </property>
  8. Click Save Changes to commit the changes.
  9. Restart the HBase service.