Additional changes to accommodate HMS changes for Hive replication

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. In Cloudera Manager, go to the 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 properties:
    • In the Name field, enter replication.hive.ignoreDatabaseNotFound and in the Value field, enter true
    • In the Name field, enter replication.hive.ignoreTableNotFound and in the Value field, enter true
  4. Click Save Changes.
  5. Restart the HDFS service.