Replication Manager overview

The Replication Manager service in Cloudera Manager enables you to replicate data across data centers for disaster recovery scenarios.

Replication Manager requires a Cloudera Enterprise license. To understand more about Cloudera license requirements, see Managing Licenses.

You can create HDFS replication policies and Hive replication policies to replicate data stored in HDFS, data stored in Hive tables, Hive metastore data, and Impala metadata (catalog server metadata) associated with Impala tables registered in the Hive metastore.

Replication Manager operates consistently across HDFS and Hive for the following:
  • You can set it up on files or directories in HDFS and on external tables in Hive—without manual translation of Hive datasets to HDFS datasets, or vice versa. Hive Metastore information is also replicated.
  • Applications that depend on external table definitions stored in Hive, operate on both replica and source as table definitions are updated.

You must ensure that the hdfs user has access to all Hive datasets, including all operations. Otherwise, Hive import fails during the replication process.

To provide access to the hdfs user, perform the following steps:
  1. Log in to Ranger Admin UI.
  2. Navigate to the Service Manager > Hadoop_SQL Policies > Access section, and provide hdfs user permission to the all-database, table, column policy name.

The following sample image shows the Hadoop_SQL section where you can assign user permissions using policies:

The sample image shows the Hadoop SQL section in Ranger UI where you can assign user permissions using policies.

You can also perform a “dry run” to verify the configuration and to understand the cost of the overall operation before you copy the entire dataset.

Cloudera Manager provides an integrated, easy-to-use management solution to enable data protection on the Hadoop platform. When critical data is stored on HDFS, Cloudera Manager helps to ensure that the data is available at all times, even in case of complete shutdown of a data center. You can use the HBase shell to replicate HBase data. Cloudera Manager does not manage HBase replications. In Cloudera Manager, you can schedule, save, and restore snapshots of HDFS directories and HBase tables.

Cloudera Manager provides key functionality in the Cloudera Manager Admin Console:
  • Select - Choose datasets that are critical for your business operations.
  • Schedule - Create an appropriate schedule for data replication and snapshots. Trigger replication and snapshots as required for your business needs.
  • Monitor - Track progress of your snapshots and replication jobs through a central console and easily identify issues or files that failed to be transferred.
  • Alert - Issue alerts when a snapshot or replication job fails or is aborted so that the problem can be diagnosed quickly.