Accommodate HMS changes for Hive replication policies

To use Replication Manager for Hive replication in environments where the Hive Metastore (HMS) changes often, such as when a database or table gets created or deleted, you must configure additional properties to accommodate the changes.

  1. Go to the Cloudera Manager > Clusters > HDFS Service > Configuration tab.
  2. Search for the HDFS Client Advanced Configuration Snippet (Safety Valve) for hdfs-site.xml property on the source cluster.

  3. Add the following key-value pairs:

    • replication.hive.ignoreDatabaseNotFound and true
    • replication.hive.ignoreTableNotFound and true
  4. Click Save Changes.
  5. Restart the HDFS service.