Preparing to create Atlas replication policies

Before you create an Atlas replication policy, you must complete the certain prerequisite tasks.

  1. Enable the Atlas replication feature flag on the source and target cluster. For more information, contact your Cloudera account team.
  2. Ensure that the source cluster and target cluster versions are CDP Private Cloud Base 7.1.9 SP1 or higher using Cloudera Manager version 7.11.3 CHF7 or higher versions.
  3. Ensure that you have the Atlas user credentials in addition to the Replication Administrator or Full Administrator roles to create an Atlas replication policy. The atlas user must also have relevant read and write permissions to the staging locations.
  4. Optional: Configure the following as line-separated key-value pairs for the Cloudera Manager > Clusters > Atlas service > Configuration > Atlas Server Advanced Configuration Snippet (Safety Valve) for conf/atlas-application.properties property on both source and target Cloudera Manager instances to optimize the Atlas replication jobs.
    Key-value pair Description
    atlas.metadata.namespace=prod Updates the Atlas Namespace to prod. Default value is cm.

    Add the same key-value pair for the Hive service in the target Cloudera Manager > Clusters > Atlas service > Configuration > Hive Service Advanced Configuration Snippet (Safety Valve) for atlas-application.properties property.

    atlas.client.ha.retries=3 Updates the Atlas client retries for Atlas replication. Default value is 3.
    atlas.client.connectTimeoutMSecs=1000000 Updates the Atlas client connection timeout for Atlas replication. Default value is 1000000.
    atlas.client.readTimeoutMSecs=1000000 Updates the Atlas client read timeout for Atlas Replication. Default value is 1000000.
    updateTypeDefinition=true Updates the type definition behavior. By default, the value is true. Before you modify this property value, consult your Cloudera account team.
    STAGING_RETENTION_PERIOD=5 Updates the retention count for previous Atlas replication job run’s export output files. Default value is 5.

    Configure this parameter only for the target Cloudera Manager instance.

You can create Atlas replication policies.