Hive replication in dynamic environments

To use Replication Manager for Hive replication in environments where the Hive Metastore changes, such as when a database or table gets created or deleted, additional configuration is needed.

  1. Open the Cloudera Manager Admin Console.
  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:
    1. Name: replication.hive.ignoreDatabaseNotFound
      Value: true
    2. Name: replication.hive.ignoreTableNotFound
      Value: true
  4. Save the changes.
  5. Restart the HDFS service.