DLM Administration
Also available as:
PDF
loading table of contents...

Replication of data on-premise to on-premise in HDFS

You must create a replication policy that specifies the data to replicate, the replication schedule, and other settings.

You must have Infra Admin or DLM Admin role to perform this set of tasks.

  1. Pair clusters for replication. Select the two clusters to use for replication and pair them, so they can communicate with each other. For more information, see Pair clusters for replication.
  2. Create a replication policy.
  3. Select Policies and click Add Policy. By default, HDFS is selected as the service in the Create Replication Policy page.
  4. Enter the replication policy name and description.
  5. Click SELECT SOURCE and select type and source cluster from the drop-down.
  6. Provide the data replication folder path and click SELECT DESTINATION.
  7. Select the destination type from the drop-down.
    You must select another cluster available in the DLM App as your destination.
    Important
    Important
    If the target dataset is non-empty, a warning message appears Target dataset directory /xxxx/xxxis not empty. You can proceed by selecting the check-box supressWarnings. Opting to select the check-box overwrites the target location, considering the conflict resolution between HDFS location and Hive External Table base location directory.
  8. Select the path and click VALIDATE.
  9. Once the validation is successful, click SCHEDULE.
  10. Configure the job settings for the replication policy.
  11. Click ADVANCED SETTINGS to set up the policy queue.
  12. Click CREATE POLICY.

    The data replication process is enabled.

    View job status from the policies page. Verify that the job starts and runs as expected.