Create an Action Plan
You can create an action plan to automate tasks using one or more action runbooks.
Steps:
- In the Pulse UI, go to Actions on the left navigation bar and select Actions. The list of existing action plans appears.
- On the Actions page, click Create Action. The available action runbooks are displayed.
- On the Action Runbooks page:
- Filter action plans by their purposex, such as Cluster Administration, HBase Administration, Monitoring, and other categories.
- Drag a runbook into the Action Workflow area to add it to an action plan.
- Create an action plan by combining one or more action runbooks in the desired sequence.
- Configure the runbook settings and click Submit.
For details on configuring runbooks, see below.

- An action plan is created and listed on the Actions page with an overview and available options.
- For details, see Actions Overview and Action Plan Options.
Set Configuration for Action Runbooks
To create an action plan, drag and drop an action runbook into the Action Workflow box, then configure the details for each runbook as described below.
Perform HDFS Non-Admin Operations
The HDFS NON-ADMIN OPERATIONS action lets you perform the most common HDFS operations:
- Copying files or directories from a local source to a destination in HDFS or vice versa
- Moving files or directories from a local source to a destination in HDFS or vice versa
- Copying files or directories within HDFS, i.e, where the source and destination are both on HDFS
- Moving files or directories within HDFS, i.e,. where the source and destination are both on HDFS.
This configuration allows non-admin users to perform specific HDFS operations (like copying or moving files) while using Kerberos for secure authentication.
Configure the action runbook details as below:
- Is Cluster Kerberized?: Enable this option if the cluster is Kerberized. Configure the required Kerberos details in a separate Kerberos action and run it before and after executing this action.
- krb5.conf File Path: Enter the
Krb5.conffile path. - Name Node Address: Enter the NameNode address. Refer to the value of
dfs.namenode.rpc-address/dfs_namenode_servicerpc_addressto ensure the address to be entered. - Destination File/Directory: Enter the path to the destination file or directory in HDFS where you want to copy or move the file.
- HDFS Operation Type: Enter the HDFS operation type from the drop-down list.
- Source File/Directory: Enter the path to the source file or directory, either from the local system or HDFS, depending on the operation type.
- Kerberos Principal: Enter the Kerberos principal for authentication.
- Kerberos Realm: Enter the Kerberos realm, which defines the administrative domain for Kerberos.
- Service Principal Name: The name of the service principal for the HDFS NameNode. This is required if the cluster is Kerberized. For example,
hdfs/node_hostnameon CDP andhdfs/node_hostnameon HDP.
HDFS Top 10 Directories
The HDFS top 10 Directories action runbook enables you to get the top 10 HDFS directories in your ecosystem.
Configure the action runbook details as below:
- Is Cluster Kerberized?: Set this option to Yes if the cluster is Kerberized. Configure the required Kerberos details in a separate Kerberos action and run it before and after executing this action.
Krb5.confFile Path: Enter theKrb5.conffile path.- Name Node Address: Enter the NameNode address. Refer to the value of
dfs.namenode.rpc-address/dfs_namenode_servicerpc_addressto ensure the address is entered. - Kerberos Principal: If Kerberos is enabled, enter the Kerberos principal in the format for secure authentication. If Kerberos is disabled, the value of this field must be simply the HDFS username.
- Kerberos Realm: Enter the name of the Kerberos realm your system will authenticate against.
- Service Principal Name: Enter the service principal name.
Kerberos
The Kerberos action lets you perform the most common Kerberos operations. You can use it to do kinit, kdestroy, etc., before and after performing actions in a Kerberized environment.
Configure the action runbook details as below:
- Keytab: Enter the Keytab file path.
- krb5.conf File Path: Enter the
Krb5.conffile path. - Logout (Delete Ticket): Toggle this setting based on whether you want the Kerberos ticket to be deleted after logout. Set to ON to delete the ticket or OFF to retain it.
- Output: Toggle this based on whether you want the Kerberos authentication process to display output logs. ON for logging or OFF for no logs.
- Kerberos Principal: Enter the Kerberos Principal used for
kinit.
Log Rotation
The Log Rotation action is a plugin for Hadoop services that facilitates log rotation. This action allows you to specify custom log patterns, log directory paths, and retention policies for their Hadoop service logs.
Configure the action runbook details as below:
- Custom Log Pattern: Enter the custom log patterns for the service logs, separated by commas. If not specified, the default log pattern for the service will be used.
- Log Directory Path: The path of the log directory where the service logs are being stored. If not specified, the default log directory will be used for that service, which is
/var/log/hadoop. - Output: Click the checkbox if you want the log rotation output to be sent to the logs.
- Retention Days: Enter the number of days’ worth of logs to retain. If not specified, the default retention period of 30 days will be used.
- Service Name: Enter the name of the Hadoop service for which you want to rotate logs.
- Timeout (in seconds): Specify the timeout duration in seconds for the log rotation to complete.
Make API Request
The Make API Request action allows you to execute REST API calls with ease directly from our platform. By providing configurable parameters such as method, URL, and host tags, you can tailor your requests to fetch specific data. Optionally, you can log the API call output for further analysis.
Configure the action runbook details as below:
- Timeout (in seconds): Specify the timeout duration for the API request in seconds.
- Headers: Enter headers for the API call and specify them as a string. Each header must be separated and prefixed with -H. For example, -H "Content-Type: application/json" -H "Host: VM001".
- Skip SSL Certificate Verification: If you set it to
true, the API call ignores the SSL certificate verification. - Is Kerberized: Set this to
trueIf the API call needs Kerberos authentication. krb5.confFile Path: Enter the path to thekrb5.conffile for Kerberos authentication.- Method: Enter the HTTP method (GET, POST, PUT, DELETE, etc.) for the API request.
- Output: Check this box to log the output of the API call to the platform's logs.
- Password For Basic Authentication: Provide the password for basic authentication if it applies to the API call.
- URL: Enter the endpoint URL of the REST API to be called in the format (http|https)://host.domain[]/path.
- Username For Basic Authentication: Enter the Username for basic authentication if it applies to the API call.
Copy Item
The Copy Item runbook in our product enables you to copy files and directories, functioning similarly to the cp command. You can specify various parameters such as the source and destination paths, whether to overwrite existing files and ownership details.
Configure the action runbook details as below:
- Destination File/Directory: Enter the path where the file or directory will be copied to. The destination can be a directory or a file.
- Force Copy: Indicate whether the copy should be overwritten if the destination file already exists.
- Group: Specify the group for the copied item.
- Owner: Specify the owner of the copied item.
- Permission: Enter the permissions for the copied item (e.g., 644).
- Source File/Directory: Enter the path from where the file or directory will be copied. The source can be a directory or a file.
Execute Command
The Execute Command action is a test plugin for Axn that allows you to run shell commands on specified hosts. You can specify the command to be executed and choose to log the output.
Configure the action runbook details as below:
- Specify Command Parameters:
- Command: Enter the shell command to be executed (default is ls -al).
- Output: Check this box if you want the output of the provided command to be written to the logs.
Run Script
The Run Script action allows you to execute a script on specified hosts and optionally return the output. You can choose the script to run and decide whether to wait for the script to finish execution.
Important
Important: The maximum script file size supported is 8 MB.
Configure the action runbook details as below:
- Specify Script Parameters:
- Output: Check this box if you want the output of the provided script to be written to the logs.
- Script File: Choose the file or enter the script to run.
- Wait to Finish: Check this box if you want to wait for the script to finish running before proceeding.
Kill Tez Queries
The Kill Tez Queries action enables you to terminate long-running Tez queries based on a configurable execution duration threshold, with support for excluding LLAP queues and processing multiple kill requests in parallel.

Configure the following parameters in the Set Configuration for Kill Tez Queries dialog:
- Threshold Time: Specify the execution duration threshold beyond which Tez queries are eligible for termination. For example, 10m represents 10 minutes.
- RM URL: Specify the YARN ResourceManager URL.
- LLAP Queue Name: Specify one or more full LLAP queue paths to exclude when terminating long-running queries. Separate multiple queue paths with commas. For example, root.spark.*, root.tez.queue1, root.tez.queue2.
Use the wildcard (*) to exclude all leaf queues under a parent queue, including those nested within its child and descendant queues. For example, root.spark.* excludes all leaf queues under root.spark.
Leave this field blank if you do not want to exclude any LLAP queues.
Note
Only full queue paths are supported. Short queue names are no longer supported.
- Worker Pool Size: Specify the number of application kill requests to process in parallel. For example, a value of 10 allows up to 10 application kill requests to be processed simultaneously.
- Is Cluster Kerberized?: Enable this option if the YARN cluster uses Kerberos authentication. Configure the required Kerberos details in a separate Kerberos action and run it before and after executing this action.
Kill Impala Query
Info: For SSL-enabled CDP clusters, you might need to configure the Impala TLS cipher suites before running the Kill Impala Query action. For more information, see Configure TLS Cipher Suites for Impala Kill Actions.
Terminates an Impala query that has been running for an extended period.
- Coordinator Host: Enter the coordinator host for the specified Impala query ID.
- Coordinator URL: Enter the Impala coordinator URL.
- Example:
http[s]://<hostname>:<port>
- Example:
- Is Kerberized: Turn on this option if the cluster is Kerberized.
- Krbconfig: Enter the path to the
krb5.conffile. - Op Type: Select the operation type based on where the query needs to be killed:
- Kill Query on ODP
- Kill Query on CDP
- Query ID: Enter the Impala query ID.
Email notifications sent when an Impala query is terminated include additional query details, including the query information, user, execution time, resource pool, and the reason for query termination.

Kill Spark - K8S Job
Terminates Spark applications that have been running for an extended period.
- Namespace: Specify the Spark namespace.
- Spark Value: Enter the Spark job identifier used to locate the application to be terminated.
- Client Mode: Enter the Spark application POD name.
- Cluster Mode: Enter the PID of the Spark application
- Spark Job Execution Mode: Select the Spark execution mode for your application.
- Client Mode: Select this option when the Spark driver runs inside the Kubernetes cluster.
- Cluster Mode: Select this option when the Spark driver may run on either the Kubernetes cluster or a virtual machine (VM), and the executors run on the target cluster.
Note
Choose the execution mode that matches your Spark environment configuration.
Info
This action runbook is applicable only for Standalone Spark on Kubernetes.
Kill YARN Applications
The Kill YARN Applications action enables you to terminate YARN applications based on configurable criteria, such as resource usage, execution duration, queue usage, and user filters.

Configure the following parameters in the Set Configuration for Kill YARN Applications dialog:
- RM URL: Specify the YARN ResourceManager URL.
- Application ID: Specify the ID of the YARN application to terminate. Enter any to target applications that match the configured criteria.
- Confirm Application Was Killed Successfully?: Enable this option to verify whether the application was terminated successfully.
- Memory Threshold: Specify the memory usage threshold for identifying applications to terminate.
- VCore Threshold: Specify the vCore usage threshold for identifying applications to terminate.
- Duration Threshold: Specify the application execution duration threshold. For example, 1h represents one hour.
- Queue Usage Threshold: Specify the queue resource usage threshold for terminating applications.
- User Filter: Specify the users whose applications are eligible for termination.
- Strict Match: Enable this option to require applications to satisfy all configured filter conditions before termination.
- Queue Name: Specify one or more full YARN leaf queue paths to terminate applications running in the specified queues. Separate multiple queue paths with commas. For example, root.spark.*, root.tez.queue1, root.tez.queue2.
Use the wildcard (*) to target all leaf queues under a parent queue, including those nested within its child and descendant queues. For example, root.spark.* targets all leaf queues under root.spark.
Leave this field blank to include applications from all queues.
Note
Only full queue paths are supported. Short queue names are no longer supported.
- Worker Pool Size: Specify the number of application kill requests to process in parallel. For example, a value of 10 allows up to 10 application kill requests to be processed simultaneously.
- Is Cluster Kerberized?: Enable this option if the YARN cluster uses Kerberos authentication. Configure the required Kerberos details in a separate Kerberos action and run it before and after executing this action.
Kill Trino Query
Terminates a Trino query that has been running for an extended period.
- Password: Enter the Trino user password for authentication.
- Trino Query ID: Enter the Trino query ID.
- Example:
20250912123456_00001_abcd1
- Example:
- Trino Coordinator URL: Enter the Trino Coordinator URL for your cluster.
- Example:
http[s]://<Coordinator>
- Example:
- Username: Enter the Trino username associated with the query.
Info
This action runbook is applicable only for Trino on Kubernetes.
Move Pending App Queue
This runbook allows you to change the queue of a YARN application that is pending.
- Application ID: Enter the ID of the pending application that needs to be moved. Enter
anyto automatically select applications based on threshold parameters. - Elapsed Time: Enter the elapsed time in seconds to filter and move pending applications. Enter
0if you provided an application ID. - Is Cluster Kerberized: Turn on this option if the cluster is Kerberized.
- Queue Name: Enter the preferred leaf queue name (or names, separated by commas) where the pending application should be moved. You can enter
anyto automatically select a queue with available resources.
Note
The user must have permission to submit jobs to the target queues.
- RM URL: Enter the YARN Resource Manager URL for your cluster.
- Example:
http[s]://<RM Hostname>:<Web Port>/
- Example:
Make Ambari API Request
Performs a start, stop, or restart action on cluster services or components through the Ambari API.
- Select Start, Stop, or Restart Action: Choose the action to perform on the cluster services.
- Stop
- Start
- Restart
- Select Single Service, All Services, or a Host Component: Specify the target scope for the action—single service, all services, or a host component. Provide additional parameters as required.
- Timeout (in Seconds): Specify the timeout duration in seconds for the Ambari API call.
- Cluster Name for Ambari Action: Enter the cluster name for the Ambari API call.
- Hostname of the Component: Enter the hostname of the component on which the action will be performed.
- Skip SSL Certificate Verification: Select this option to skip SSL certificate verification.
- Is Kerberized: Turn on this option if the Ambari UI is Kerberized.
- Output: Select this option to write the output of the Ambari REST API call to the logs.
- Password for Basic Authentication: Enter the password for basic authentication, if applicable to the Ambari API call.
- Service Name / Component Name for Executing Action: Enter the service or component name on which to perform the action. (If you are applying the action to all services, you can leave this field blank.)
- Ambari URL: Enter the Ambari HTTP or HTTPS URL.
- Example:
http[s]://<host>.<domain>[:port]
- Example:
- Username for Basic Authentication: Enter the username for basic authentication, if applicable to the Ambari API call.
Perform HDFS Canary Operations
Performs HDFS canary tests to validate read, write, list, and delete performance in HDFS, ensuring cluster health and responsiveness.
- Canary Test: Select one of the tests:
- hdfs-canary-create-read-delete-file
- hdfs-canary-list-dir
- When hdfs-canary-create-read-delete-file is selected, fill in the details as below.
- Ccache_file_path: Path to Kerberos cache (usually /opt/pulse/actions/tmp/krb5cc*).
- File_size: Enter the file size in GB (minimum: 1 GB).
- HDFS User: Typically hdfs.
- Is Cluster Kerberized: Enable if Kerberos is configured.
- Krbconfig: Path to Kerberos configuration file (must exist on all nodes).
- list_dir_name: Directory to list in HDFS. Enter / for root.
- Name_node_address: NameNode address. For example, odp901.acceldata.dvl:8020.
- Service_principal_name: Required only for Kerberized clusters.
- When hdfs-canary-list-dir is selected, fill in the fields as described in Step 2. The only differences are:
- File Size: Not required.
- list_dir_name: Specify any directory in HDFS (defaults to the root directory).

Info
When configuring hosts in the next step for canary operations, specify a single host where the target service is running. This host will internally make requests and fetch the required data.
Perform HIVE Canary Operations
Performs Hive canary tests to measure query execution time, table operations, and overall Hive service stability.
Info
- Ensure the Hive shell command-line tool is installed and configured on the host.
- Verify that the host can successfully connect to the Hive service.
- This host is typically the Hive client node specified in the Select Host field when configuring the Hive canary action in Pulse.
- Canary Test: Select one of the tests:
- hive-canary-create-delete-table: Creates and deletes a table to measure query execution and error rates.
- hive-canary-select: Runs a select query to measure execution time and query latency.
- When hive-canary-create-delete-table is selected, configure the following parameters to run the test:
- Is cluster kerberized: Enable this option if Kerberos authentication is enabled on the cluster.
- Principal: Enter the node where you want to run the canary test.
- Keytab: Provide the location of the Hive keytab file.
- db_name: Enter the database name. Ensure that the database already exists.
- Table_name: Specify the table name that the canary should create and then delete.
- Impala Coordinator Host: Hostname of the Impala coordinator node the canary connects to for running the test.
- Enable Impala SSL: Enable this to use TLS/SSL when connecting via impala-shell. This allows compatibility with clusters where Impala is configured with TLS/SSL.
- Impala CA Certificate Path: File path to the CA certificate used to verify the Impala server’s SSL certificate. If ssl is enabled, the user has to provide the ca cert path.
- When hive-canary-select is selected, fill in the fields as described in Step 2.
You can use the inputs shown in the screenshot for reference. Enter the details based on your environment.

Info
When configuring hosts in the next step for canary operations, specify a single host where the target service is running. This host will internally make requests and fetch the required data.
Perform Impala Canary Operations
Performs Impala canary tests to verify query performance, latency, and service responsiveness across the Impala environment.
Info
- Ensure the Impala shell (impala-shell) command-line tool is installed and configured on the host.
- Verify that the host can successfully connect to the Impala service.
- This host is typically the Impala client node specified in the Select Host field when configuring the Impala canary action in Pulse.
- Canary Test: Select one of the tests:
- impala-canary-create-delete-table: Creates and deletes a table in Impala to validate responsiveness and stability.
- impala-canary-select: Executes a select query to measure query latency and success rate.
- When impala-canary-create-delete-table is selected, configure the following parameters to run the test:
- db_name: Enter the database name. Ensure that the database already exists.
- Is cluster kerberized: Enable this option if Kerberos authentication is enabled on the cluster.
- Keytab: Provide the location of the Hive keytab file.
- Principal: Enter the node where you want to run the canary test.
- Table Name: Specify the table name that the canary should create and then delete.
- When impala-canary-select is selected, fill in the fields as described in Step 2.
Info
When configuring hosts in the next step for canary operations, specify a single host where the target service is running. This host will internally make requests and fetch the required data.
HDFS Cluster Replication
The HDFS Cluster Replication action runbook uses HDFS snapshots and DistCp to perform baseline and incremental data replication between the primary and disaster recovery (DR) clusters.
Enable Replication Action Plugin
You can reach out to Acceldata Support to enable the plugin.
- Select the DR_ACTIONS component in the License to enable the replication action plugin.
- Take the updated License and update it in pulse-ui.
- Restart the
ad-axnserver:
accelo restart ad-axnserver
Prerequisites
- System Requirements
- Hadoop 2.7.0 or later
- Bash 4.0 or later
- User Permissions
The HDFS user and DistCp user must have superuser privileges through one of the following:
- Membership in the HDFS supergroup
- The
dfs.permissions.superusergroupconfiguration
- Kerberos (Optional)
If Kerberos is enabled:
- A valid
kinitticket is required - A keytab is recommended
- Cross-realm trust must be configured, if applicable
- HDFS Configuration
- Snapshots must be enabled
- Sufficient snapshot quota must be available
- Adequate storage capacity must be available
- YARN Configuration
- Queue submission access must be granted
- Adequate memory and vCores must be available
- Queue capacity must be planned appropriately
- Out-of-Memory (OOM) Condition
This plugin spawns a DistCp JVM process. If the process is terminated by the operating system with a SIGKILL, the most likely cause is an Out-of-Memory (OOM) condition or the process exceeding the configured systemd memory limit.
Because the plugin runs under the axnserver agent, the default 1 GBMemoryMax limit may not be sufficient for large data operations. To avoid this issue, increase the axnserver memory limit so it can accommodate the heap required by the DistCp JVM process on your cluster.
Update override.yml as shown below:
systemd:
- case:
- range:
From: "0"
To: "231"
pulseaxn:
- service:
CPUShares: "1024"
MemoryLimit: 2G
pulsejmx:
- service:
CPUShares: "1024"
MemoryLimit: 1G
pulselogs:
- service:
CPUShares: "1024"
MemoryLimit: 1G
pulsenode:
- service:
CPUShares: "1024"
MemoryLimit: 1G
pulseprofiler:
- service:
CPUShares: "1024"
MemoryLimit: 1G
pulseyarnmetrics:
- service:
CPUShares: "1024"
MemoryLimit: 1G
- case:
- range:
From: "232"
To: "0"
pulseaxn:
- service:
CPUWeight: "100"
MemoryMax: 2G
pulsejmx:
- service:
CPUWeight: "100"
MemoryMax: 1G
pulselogs:
- service:
CPUWeight: "100"
MemoryMax: 1G
pulsenode:
- service:
CPUWeight: "100"
MemoryMax: 1G
pulseprofiler:
- service:
CPUShares: "100"
MemoryLimit: 1G
pulseyarnmetrics:
- service:
CPUWeight: "100"
MemoryMax: 1G
After updating the file, run the following command to apply the agent configuration changes:
accelo reconfig cluster
Configuration

Configure the following arguments to replicate HDFS data between the source and destination clusters.
Action field | Description | Default value |
Source Cluster HDFS URI | Specify the source NameNode in host:port format or the NameService name for a high availability (HA) cluster. | Required |
Destination Cluster HDFS URI | Specify the destination NameNode in host:port format or the NameService name for an HA cluster. | Required |
Source Directories | Specify a comma-separated list of absolute HDFS directory paths to replicate. | Required |
Snapshot Prefix | Specify a prefix for snapshot names. Use a consistent and unique prefix for each replication pair. | dr_snap |
Snapshot Retention | Specify the number of snapshots to retain on each cluster. | 3 |
HDFS User | Specify the user that runs hdfs dfs and dfsadmin commands in non-Kerberized clusters. | hdfs |
DistCp User | Specify the user that runs DistCp jobs. | hdfs |
DistCp Options | Specify additional DistCp options. The script always applies the -update option. | -strategy dynamic -direct -update -pugptx -skipcrccheck |
YARN Queue | Specify the YARN queue in which to run DistCp jobs. | default |
Log Directory Path | Specify the directory in which to store replication logs. | /var/log/hadoop-replication |
Auto Full DistCp | Enable this option to automatically run a full DistCp job during initial baseline replication. | no |
Rollback On Failure | Enable this option to automatically roll back and retry replication once if a snapshot modification error occurs. | no |
Is the cluster kerberized? | Specify whether Kerberos authentication is enabled. The script does not automatically detect Kerberos configuration. | no |
DistCp Exclude Patterns | Specify comma-separated regular expressions to exclude matching paths from replication. Leave blank to disable exclusions. | Empty |
Replication Mode | Specify pull to run DistCp jobs on the destination cluster's YARN or push to run them on the source cluster's YARN. | pull |
Reverse Diff Bootstrap | Enable this option to attempt incremental replication using reverse snapshot differences when the replication direction changes during failover or failback, instead of performing a full baseline copy. | no |
HDFS State Directory | Specify the HDFS directory in which to store the last snapshot state. This enables replication to resume after failover when the local state is unavailable. | /tmp/pulse_replication_action |
Auto Derive HA Client Config | Enable this option to automatically configure HA NameNode properties for cross-cluster HDFS commands. Requires the source and destination NameNode host details. | no |
Source cluster NameNodes Hosts | Specify the source cluster NameNode hosts as comma-separated <nn-id>=<host>:<port> pairs. For example, nn1=prod-nn1.example.com:8020,nn2=prod-nn2.example.com:8020. Required when Auto Derive HA Client Config is enabled. | Empty |
Destination cluster NameNodes Hosts | Specify the destination cluster NameNode hosts as comma-separated <nn-id>=<host>:<port> pairs. For example, nn1=dr-nn1.example.com:8020,nn2=dr-nn2.example.com:8020. Required when Auto Derive HA Client Config is enabled. | Empty |
Extra Environment Variables | Specify additional environment variables as KEY=VALUE pairs separated by \|\|. For details, see the Environment Variables below. | Empty |
Script File | To use a custom script, download the script from GitHub, modify it as required, and upload it. Leave blank to use the built-in script. | Built-in script |
Environment Variables
Use the Extra Environment Variables field in the action plan to pass additional configuration settings to the HDFS replication script. Specify the environment variables as KEY=VALUE pairs separated by double pipes (||).
KEY=VALUE||KEY=VALUE
Environment variable | Description | Default value |
DISTCP_MAPREDUCE_OPTS | Specify additional MapReduce job properties (-D) for each DistCp job, such as mapper memory and JVM heap size. | Empty |
HADOOP_CLIENT_OPTS | Specify the JVM heap size for the DistCp driver or client. | -Xmx5g |
DISTCP_DEBUG | Enable verbose logging for DistCp operations. | no |
DISTCP_TASK_TIMEOUT_MS | Specify the mapper task timeout in milliseconds. | 1800000 |
LOG_RETAIN | Specify the number of most recent log files to retain. Set to -1 to retain all log files. | -1 |
LOG_JOB_NAME | Specify a custom log file name for each replication policy. | Automatically generated from the source, destination, snapshot prefix, and source directories |
SOURCE_HTTP_SCHEME | Specify the HTTP or HTTPS scheme for accessing the source NameNode JMX endpoint. | http |
SOURCE_NN_WEB_PORT | Specify the source NameNode web UI port. | 50070 |
DEST_HTTP_SCHEME | Specify the HTTP or HTTPS scheme for accessing the destination NameNode JMX endpoint. | http |
DEST_NN_WEB_PORT | Specify the destination NameNode web UI port. | 50070 |
CURL_BIN | Specify the curl executable to use for JMX requests. | curl |
KRB5CCNAME | Specify the Kerberos credential cache path. | Empty |
RUN_LOCK_MAX_AGE_SECS | Specify the maximum age of a replication policy's run lock, in seconds, before generating a stuck-run alert. | 86400 |
ROLLBACK_MARKER_MAX_AGE_SECS | Specify the age in seconds after which a rollback marker no longer prevents rollback. | 86400 |
FORCE_REBASELINE | Force a full baseline replication after clearing the existing replication state. | no |
EMPTY_DIFF_SHORTCUT | Skip DistCp when no changes are detected between snapshots. | yes |
YARN_CLI_TIMEOUT | Specify the timeout in seconds for YARN application commands. | 180 |
ROLLBACK_REQUIRE_YARN_CHECK | Prevent rollback if the script cannot query YARN. | yes |
DEST_SPACE_CHECK | Specify the destination storage capacity check mode: yes to enforce the check, warn to issue a warning, or no to disable the check. | yes |
DEST_SPACE_RESERVE_PCT | Specify the percentage of destination HDFS storage capacity that must remain available. | 5 |
DEST_SPACE_CHECK_SOURCE | Enable source data size estimation before incremental replication for destination capacity checks. | yes |
DEST_STORAGE_FACTOR | Specify the ratio of physical storage bytes to logical data bytes on the destination cluster. The script uses this value for capacity checks before DistCp operations. | Automatically detected |
DISTCP_MAX_MAPPERS | Enable dynamic mapper allocation based on the amount of data to copy and specify the maximum number of mappers (-m) per DistCp job. | Empty |
DISTCP_MB_PER_MAPPER | Specify the target amount of data, in MB, per DistCp mapper. | 10240 |
DISTCP_FILES_PER_MAPPER | Specify the target number of files per DistCp mapper. | 10000 |
DISTCP_MIN_MAPPERS | Specify the minimum number of mappers per DistCp job. | 1 |
DISTCP_LATENCY_FILES_PER_MAPPER | Specify the target number of files per mapper used to calculate the minimum mapper count for small incremental replication jobs. | 50 |
DISTCP_LATENCY_MAX_MAPPERS | Specify the upper limit for the minimum mapper count calculated for small incremental replication jobs. | 8 |
DISTCP_MAX_LISTING_THREADS | Specify the maximum number of worker threads for DistCp directory listing operations. | 40 |
DISTCP_DIRS_PER_LISTING_THREAD | Specify the target number of directories per listing thread. | 2500 |
Example
To configure HTTPS access to the source NameNode, set its web UI port to 9870, and limit the maximum number of DistCp mappers to 60, enter the following value in the Extra Environment Variables field:
SOURCE_HTTP_SCHEME=https||SOURCE_NN_WEB_PORT=9870||DISTCP_MAX_MAPPERS=60
Host Selection
Ensure that only one host is selected when executing the script.
If multiple hosts are selected, the Disaster Recovery script may run on more than one host at the same time. This can result in one of the following:
- Duplicate data being ingested into the destination cluster
- Replication failure due to concurrent execution
Timeout Settings
Benchmark Results
The following results were observed using the default DistCp configuration with no competing jobs running:
Data Size (GB) | Observed Time (In Seconds) |
|---|---|
10 | 500 |
50 | 4900 |
60 | 4900 |
Test environment: Benchmarking was performed on a 2-node ODP cluster, where each node had:
- 8 CPU cores
- 32 GB RAM
- 200 GB disk
Recommended Action Timeout
Set the action timeout to 1000 seconds per GB of replication data.
This recommendation provides a buffer over the observed benchmark rate of approximately 76 seconds per GB, accounting for real-world conditions such as:
- Delayed YARN resource availability
- Limited network bandwidth
- Other production workload contention
Limitation
If replication exceeds the configured action timeout, the Action Server reports a timeout failure. However, the replication script continues to run in the background on the VM.
If the action reports a timeout:
- SSH into the VM where the plugin is running.
- Check the replication log:
/var/log/hadoop-dr-replicate.log
If replication takes longer than 1000 seconds per GB, investigate cluster resource constraints or network issues before re-running the replication
Hive Cluster Replication
Use this action to replicate Hive tables between clusters by using the native Hive replication mechanism (REPL DUMP / REPL LOAD).
Enable Replication Action Plugin
You can reach out to Acceldata Support to enable the plugin.
- Select the DR_ACTIONS component in the License to enable the replication action plugin.
- Take the updated License and update it in pulse-ui.
- Restart the
ad-axnserver:
accelo restart ad-axnserver
Hive Replication — Prerequisites & Configuration
- Prerequisites
Hive Version
- Requires Hive 3.0.0 or later
Network
- Source and destination clusters must have network connectivity
- Required for DistCp-based data transfer
Cross-Realm Setup (If Kerberos Enabled)
- Cross-realm trust must be configured between clusters
- Required for secure authentication during replication
- Replication Base Directory
The plugin performs:
- REPL DUMP on the source cluster (stored in HDFS)
- REPL LOAD on the destination cluster
The <REPLICATION_BASE_DIRECTORY>:
- Stores dump data
- Must exist on both source and destination clusters
- Default path:
/user/hive/repl/
If using a custom path, configure it in:
Action Plugin → Replication Base Directory parameter
Source Cluster Setup
hdfs dfs -mkdir -p <REPLICATION_BASE_DIRECTORY>
hdfs dfs -chown -R hive:hadoop <REPLICATION_BASE_DIRECTORY>
Destination Cluster Setup
hdfs dfs -mkdir -p <REPLICATION_BASE_DIRECTORY>
hdfs dfs -chown -R hive:hive <REPLICATION_BASE_DIRECTORY>
- Proxy User Configuration
The user running the replication job must:
- Be part of the HDFS supergroup
- Have proxy permissions configured on both clusters
Example (core-site.xml)
<property>
<name>hadoop.proxyuser.smith.hosts</name>
<value>*</value>
</property>
<property>
<name>hadoop.proxyuser.smith.groups</name>
<value>*</value>
</property>
Replace smith with the actual user executing the job.
- Hive Configuration
Enable Notification Listener
hive.metastore.transactional.event.listeners=org.apache.hive.hcatalog.listener.DbNotificationListener
Enable DML Event Capture
hive.metastore.dml.events=true
Notes:
- By default, only DDL events are captured
- Enabling this ensures DML events (INSERT, UPDATE, DELETE) are also replicated
- Out-of-Memory (OOM) Condition
Description
The process may be terminated with a SIGKILL due to:
- Out-of-Memory (OOM)
- Exceeding systemd memory limits
Since the plugin spawns a DistCp JVM process, the default:
MemoryMax = 1 GB(axnserver agent)
may not be sufficient for large replication jobs.
Recommended Action
Increase the memory limit for the axnserver agent.
Update the override.yml configuration accordingly (example):
systemd:
- case:
- range:
From: "0"
To: "231"
pulseaxn:
- service:
CPUShares: "1024"
MemoryLimit: 2G
pulsejmx:
- service:
CPUShares: "1024"
MemoryLimit: 1G
pulselogs:
- service:
CPUShares: "1024"
MemoryLimit: 1G
pulsenode:
- service:
CPUShares: "1024"
MemoryLimit: 1G
pulseprofiler:
- service:
CPUShares: "1024"
MemoryLimit: 1G
pulseyarnmetrics:
- service:
CPUShares: "1024"
MemoryLimit: 1G
- case:
- range:
From: "232"
To: "0"
pulseaxn:
- service:
CPUWeight: "100"
MemoryMax: 2G
pulsejmx:
- service:
CPUWeight: "100"
MemoryMax: 1G
pulselogs:
- service:
CPUWeight: "100"
MemoryMax: 1G
pulsenode:
- service:
CPUWeight: "100"
MemoryMax: 1G
pulseprofiler:
- service:
CPUShares: "100"
MemoryLimit: 1G
pulseyarnmetrics:
- service:
CPUWeight: "100"
MemoryMax: 1G
Configuration

Configure the following arguments to replicate Hive databases and tables between the source and destination clusters.
Action field | Description | Default value |
Hive Database(s) / Table Spec | Specify the databases to replicate. Use a pipe (\|) separator for multiple databases. Supports table names and regular expression patterns. | Required |
Source Nameservice | Specify the source HDFS NameService name or NameNode in host:port format. | Required |
Destination Nameservice | Specify the destination HDFS NameService name or NameNode in host:port format. | Required |
Source JDBC URL | Specify the JDBC URL of the source HiveServer2. | Required |
Destination JDBC URL | Specify the JDBC URL of the destination HiveServer2. | Required |
YARN Queue | Specify the YARN queue in which to run REPL LOAD data copy jobs. | default |
Replication Base Directory | Specify the HDFS directory in which REPL DUMP stages replication data. | /user/hive/repl/ |
Log Directory | Specify the local directory in which to store replication logs. | /var/log/hive-replication |
HDFS User | Specify the operating system user that performs HDFS operations in non-Kerberized clusters. This user is also the default impersonation (doAs) user for DistCp jobs. | hdfs |
Hive User | Specify the Beeline username for non-Kerberized clusters. | hdfs |
Failover Mode | Enable this option to reverse the replication direction during failover. The destination cluster becomes the source for REPL DUMP. | false |
Reconcile External Data | Enable this option to run DistCp after REPL LOAD to reconcile existing external table data. Use this option only for databases containing external tables. The action fails if managed or ACID tables are present. | false |
DistCp Options | Specify the DistCp options to use when reconciling external table data. | -strategy dynamic -direct -update -pugptx -skipcrccheck |
Auto Derive HA Client Config | Enable this option to automatically configure HA NameNode properties for cross-cluster HDFS commands. Requires the source and destination NameNode host details. | false |
Source cluster NameNodes Hosts | Specify the source cluster NameNode hosts as comma-separated <nn-id>=<host>:<port> pairs. For example, nn1=prod-nn1.example.com:8020,nn2=prod-nn2.example.com:8020. Required when Auto Derive HA Client Config is enabled. | Empty |
Destination cluster NameNodes Hosts | Specify the destination cluster NameNode hosts as comma-separated <nn-id>=<host>:<port> pairs. For example, nn1=dr-nn1.example.com:8020,nn2=dr-nn2.example.com:8020. Required when Auto Derive HA Client Config is enabled. | Empty |
Extra Environment Variables | Specify additional environment variables as KEY=VALUE pairs separated by \|\|. For details, see the Environment Variables below. | Empty |
Script File | To use a custom script, download the script from GitHub, modify it as required, and upload it. Leave blank to use the built-in script. | Built-in script |
Configure Hive Database and Table Patterns
Use the Hive Database(s) / Table Spec field to specify the databases and tables to replicate. You can replicate entire databases, specific tables, or databases and tables that match regular expression patterns.
Supported syntax
Syntax | Description |
<db> | Replicate a specific database. |
<db>.'<table-regex>' | Replicate tables that match the specified pattern in a specific database. |
'<db-regex>' | Replicate all databases that match the specified pattern. |
'<db-regex>'.'<table-regex>' | Replicate matching tables across all matching databases. |
Examples
Replication requirement | Example value |
Single database | sales |
Multiple databases | sales\|analytics\|hr |
Single table | sales.'orders' |
Specific tables | sales.'(orders\|customers)' |
All tables except a specific table | sales.'(?!orders$).*' |
Databases with a specific prefix | 'sales_.*' |
Databases with a specific suffix | '.*_backup' |
Specific set of databases | '(sales_us\|sales_eu\|sales_apac)' |
Databases with multiple prefixes | '(sales\|analytics)_.*' |
Databases with numeric shards | 'sales_shard[0-9]+' |
Databases with environment-specific suffixes | '.*_(dev\|test)' |
All databases | '.*' |
Matching databases with specific tables | 'sales_.*'.'(orders\|customers)' |
Matching databases excluding a specific table | 'sales_.*'.'(?!orders$).*' |
Multiple database patterns | 'sales_.*'\|'analytics_.*' |
Literal database and database pattern | hr\|'sales_.*' |
Regular expression support
Database and table patterns use different regular expression engines.
Pattern type | Regular expression engine | Evaluation | Negative lookahead support |
Database pattern | POSIX Extended Regular Expressions (ERE) | Client-side by the replication script using grep -E | No |
Table pattern | Java regular expressions | Server-side by Hive | Yes |
Considerations
- A pipe (|) within single quotation marks is treated as part of the regular expression, not as a database separator.
- Database names enclosed in single quotation marks are treated as regular expressions. The replication script retrieves matching databases using SHOW DATABASES on the dump source before running REPL DUMP.
- Hive REPL DUMP accepts only one literal database name at a time and does not directly support database regular expression patterns.
- Database patterns are case-insensitive and match the entire database name. The script automatically applies the ^(pattern)$ format. Do not add explicit ^ or $ anchors.
- 'sales_.*' matches sales_us but not old_sales_us.
- 'sales|hr' matches only sales and hr.
- Database patterns do not support negative lookahead. To exclude a database, explicitly specify the databases to replicate, for example, '(sales_us|sales_eu|sales_apac)'.
Environment Variables
Use the Extra Environment Variables field to configure additional Hive replication settings. Specify the environment variables as KEY=VALUE pairs separated by double pipes (||).
KEY=VALUE||KEY=VALUE
- Failover: Switch the live workload from the primary cluster to the disaster recovery (DR) cluster.
- Failback: Switch the live workload from the DR cluster back to the primary cluster.
Environment variable | Description | Default value |
REPLICATION_DIRECTION | Specify src_to_dst to replicate from the primary cluster to the DR cluster or dst_to_src to replicate from the DR cluster to the primary cluster. If not specified, the direction is derived from Failover Mode (false = src_to_dst, true = dst_to_src). Explicitly specify the direction for reverse synchronization after failover or during failback. | Derived from Failover Mode |
DIRECTION_CHANGE | Set to true to switch the live workload during failover or failback. Set to false to synchronize data without switching the live workload. If not specified, follows Failover Mode. | Derived from Failover Mode |
FAILOVER_MAX_ROUNDS | Specify the maximum number of REPL DUMP and REPL LOAD cycles to attempt during a failover or failback operation. | 3 |
REPL_ROOT_SUFFIX | Specify the folder suffix (from_<suffix>) under the replication base directory. Configure this variable only to reuse an existing staging path. | Empty (automatically derived from the dump-side NameNodes) |
PREFLIGHT_PRIMARY_CHECK | Enable an additional preflight check to verify that the cluster performing REPL DUMP is the primary cluster. | false |
RECONCILE_ON_DIRECTION_CHANGE | Enable table data reconciliation as part of the failover or failback process. Set to false to skip the data copy. | true |
METADATA_ONLY | Enable this option to replicate only Hive schema and metastore metadata without copying table data. | false |
INCLUDE_ATLAS_METADATA | Enable Apache Atlas metadata replication through Hive REPL DUMP and REPL LOAD. | no |
SRC_ATLAS_ENDPOINT | Specify the source Atlas endpoint URL. Required when INCLUDE_ATLAS_METADATA is set to yes. | Empty |
DST_ATLAS_ENDPOINT | Specify the destination Atlas endpoint URL. Required when INCLUDE_ATLAS_METADATA is set to yes. | Empty |
SRC_ATLAS_CLUSTER_NAME | Specify the source Atlas cluster name. | default |
DST_ATLAS_CLUSTER_NAME | Specify the destination Atlas cluster name. | default |
ATLAS_CLIENT_READ_TIMEOUT | Specify how long the Hive Atlas client waits for a read operation during Atlas metadata export or import. | Hive default (approximately 7,200 seconds) |
ATLAS_HEALTH_CHECK | Enable a preflight health check for Atlas endpoints. | yes |
ATLAS_HEALTH_CHECK_TIMEOUT_SECONDS | Specify the Atlas health check timeout in seconds. | 15 |
ATLAS_CURL_BIN | Specify the curl executable to use for Atlas health checks. | curl |
ATLAS_CURL_INSECURE | Allow curl to bypass TLS certificate verification for Atlas requests. | yes |
ATLAS_CURL_OPTS | Specify additional curl options for Atlas requests. | Empty |
DISTCP_OPTS | Specify the DistCp options to use when Reconcile External Data is enabled. | -strategy dynamic -direct -update -pugptx -skipcrccheck |
HIVE_REPL_SNAPSHOT_COPY | Enable HDFS snapshot-based incremental data copying for external tables during Hive replication. | false |
HIVE_REPL_INCLUDE_MATERIALIZED_VIEWS | Include materialized views in Hive replication. | false |
HIVE_REPL_SKIP_CRC_CHECK | Pass the -skipcrccheck option to DistCp during REPL LOAD to skip checksum verification. | true |
HIVE_REPL_FORCE_DISTCP | Force all data copy operations during REPL LOAD to use DistCp. | false |
HIVE_DISTCP_DOAS_USER | Specify the operating system user under which REPL LOAD DistCp jobs run on YARN. | hive |
HIVE_REPL_RAW_RESERVED_COPY | Enable copying encryption zone data through /.reserved/raw/ without decrypting and re-encrypting the data. | false |
AUTO_DERIVE_HA_CLIENT_CONFIG | Enable automatic configuration of HA NameNode properties for cross-cluster HDFS commands. Requires SRC_NN_HOSTS and DST_NN_HOSTS. | no |
SRC_NN_HOSTS | Specify the source cluster NameNode hosts as comma-separated <nn-id>=<host>:<port> pairs. For example, nn1=prod-nn1.example.com:8020,nn2=prod-nn2.example.com:8020. Required when AUTO_DERIVE_HA_CLIENT_CONFIG is set to yes. | Empty |
DST_NN_HOSTS | Specify the destination cluster NameNode hosts as comma-separated <nn-id>=<host>:<port> pairs. For example, nn1=dr-nn1.example.com:8020,nn2=dr-nn2.example.com:8020. Required when AUTO_DERIVE_HA_CLIENT_CONFIG is set to yes. | Empty |
AUTOMATIC_FAILOVER_ENABLED | Enable automatic failover handling in the replication script. | true |
HIVE_LDAP_ENABLED | Enable LDAP password authentication for Beeline. | false |
HIVE_PASSWORD | Specify the LDAP password when LDAP authentication is enabled. | Empty |
INCREMENTAL_LOCK_DIR | Specify the local directory in which to store database-specific incremental replication locks. | /var/tmp/hive-bdr-incremental-locks |
SNAP_LOCK_DIR | Specify the local directory in which to store snapshot setup locks. | /var/tmp/hive-bdr-snapshot-setup-locks |
HIVE_EXTERNAL_WAREHOUSE_DIR | Specify the warehouse directory for Hive external tables. | /warehouse/tablespace/external/hive |
BEELINE_VERBOSE | Enable verbose output for Beeline commands. | false |
HEARTBEAT_INTERVAL_SECONDS | Specify the interval in seconds between heartbeat log entries during long-running Beeline operations. | 60 |
BEELINE_COMMAND_TIMEOUT_SECONDS | Specify the Beeline command timeout in seconds. Set to 0 to disable the timeout. | 0 (no timeout) |
Example
To enable Atlas metadata replication, configure the source and destination Atlas endpoints, and force DistCp for Hive replication, enter the following value in the Extra Environment Variables field:
INCLUDE_ATLAS_METADATA=yes||SRC_ATLAS_ENDPOINT=https://atlas-src:31443||DST_ATLAS_ENDPOINT=https://atlas-dst:31443||HIVE_REPL_FORCE_DISTCP=true
Note: Enter all environment variables on a single line, separated by ||.
Hive Cluster Recovery — Execution Guidelines
- Host Selection
Ensure that only one host is selected when executing the script.
If multiple hosts are selected, the Hive Cluster Recovery script may:
- Run simultaneously on multiple hosts
- Ingest duplicate data into the destination cluster
- Fail due to concurrent execution conflicts
- Timeout Settings
Benchmark Results
The following results were observed using:
- Hive configuration with 8 DistCp mappers
- No competing jobs
Data Size (in GB) | Observed Time (In Seconds) |
|---|---|
5 | 200 |
35 | 1140 |
40 | 1500 |
60 | 2930 |
Test environment:
- 2-node ODP cluster
- Each node:
- 8 CPU cores
- 32 GB RAM
- 200 GB disk
Recommended Action Timeout
Set the action timeout to:
250 seconds per GB of replication data
This provides approximately a 5× buffer over the observed rate (~50 s/GB), accounting for:
- YARN resource contention
- Network bandwidth limitations
- Production workload variability
- Limitation
If replication exceeds the configured action timeout:
- The Action Server reports a timeout failure
- However, the replication process continues running in the background
If Timeout Occurs
- SSH into the VM where the plugin is running
- Check the replication log:
/var/log/hive-replication/hive_bdr_<DB>_<TIMESTAMP>.log
- If replication exceeds 250 s/GB:
- Investigate cluster resource utilization
- Check network performance
- Validate YARN queue availability before re-running
- Execution Behavior
The plugin is designed to run only once per database.
What Happens During Execution
- Initial Bootstrap Replication
- Performs a full data copy (REPL DUMP + REPL LOAD)
- Scheduled Queries Creation
- Automatically created on both:
- Source cluster
- Destination cluster
- Automatically created on both:
- Incremental Replication
- Scheduled queries:
- Periodically dump changes from the source
- Load them into the destination
- No manual intervention required
- Scheduled queries:
- Important Notes
- After the initial run:
- The plugin does not need to be executed again for the same database
- Incremental replication is handled automatically via scheduled queries
Advanced Usage (Optional)
If needed, users can:
- Modify the script to:
- Customize dump/load behavior
- Handle additional replication scenarios
- Schedule these custom workflows using Actions
HBASE Cluster Replication
HBase Replication — Prerequisites
- SSH Access to Destination Cluster
The following connectivity must be ensured:
- The configured action plugin parameters:
DEST_SSH_USERDEST_HOST
must allow:
- SSH login from the source cluster (where the action runs) to the destination host
- From the destination host:
- Ability to run
scp(to copy the restore script) - Ability to run
ssh(to execute the script)
- Ability to run
Recommendation
- Use passwordless SSH (key-based authentication) for seamless execution
- Security Configuration
Kerberos-enabled Clusters
For Kerberos environments, the following are required for both source and destination clusters:
- Valid Kerberos principal
- Corresponding keytab file
These are required for:
- Authentication
- Snapshot operations
- Restore and replication workflows
Non-Kerberos Clusters
For non-Kerberos environments:
- The configured user must have appropriate HBase permissions, including:
- Snapshot creation
- Restore operations
- Clone operations
Configuration

Configure the following arguments to replicate HBase tables from the source cluster to the destination cluster.
- HBase Table Name: Name of the HBase table or a wildcard pattern to replicate multiple tables. Supported formats include:
- Single table: table (default namespace) or namespace:table.
- Wildcard pattern: namespace:table*, *:table, or namespace:*.
- For example, prod:customer_* matches all tables in the prod namespace whose names start with customer_.
- Snapshot Name Prefix: Prefix for HBase snapshot names, for example, bdr_snap. When you use a wildcard pattern, the table name is automatically appended to generate a unique prefix for each table, for example, bdr_snap_prod_customers.
- Snapshot Retention Count: Number of snapshots to retain. When the retention limit is reached, the oldest snapshot is deleted before a new snapshot is created. The default value is 1.
- Destination Namenode URI: HDFS URI of the destination cluster, for example, hdfs://hostname:8020.
- Destination HBase Snapshot Directory: HDFS directory on destination where HBase snapshots reside, e.g.,
/apps/hbase/data/.- Specify the HDFS directory on the destination cluster where HBase snapshots reside (for example, /apps/hbase/data).
- Use the value of the HBase root directory (hbase.rootdir) property under HBase > Configs > Advanced > Advanced hbase-site in the destination cluster's Ambari UI.

- Destination ZooKeeper Quorum: Comma-separated list of ZooKeeper hosts for the destination HBase cluster, for example, odp100.acceldata.dvl,odp200.acceldata.dvl,odp300.acceldata.dvl.
- Destination ZooKeeper Znode: ZooKeeper parent znode configured for the destination HBase cluster, for example, /hbase or /hbase-secure. This value is used with the destination ZooKeeper quorum to ensure that snapshot restore and clone operations initiated from the source node connect to the correct destination HBase cluster.
- Kerberos Enabled: Specifies whether Kerberos authentication is enabled for the cluster. Enter yes for Kerberized clusters or no for non-Kerberized clusters.
- Run As User: User account under which commands run in non-Kerberized clusters, for example, hdfs. Commands are executed using su - <user> -c "command".
- ExportSnapshot Mappers: Number of mappers to use for the ExportSnapshot operation. The default value is 8.
- MapReduce Queue: Name of the MapReduce queue used to run ExportSnapshot jobs. The default value is default.
- ExportSnapshot Options: Additional command-line options for the ExportSnapshot operation. For example:
--overwrite --bandwidth 100 --chuser MyUser --chgroup MyGroup --chmod 700
- Log Directory: Directory where replication log files are stored. The default value is /var/log/hbase-replication.
- Extra Environment Variables: Additional environment variables to customize the HBase replication operation. Specify the variables and their corresponding values as required by the replication script. For details about the supported environment variables and their usage, see Extra Environment Variables below.
- Script File: Script used to perform HBase replication. If you do not provide a script, Pulse automatically uses the default script. For details, see theHBase Cluster Replication Script.
Extra Environment Variables
Use the Extra Environment Variables field to customize HBase replication. Specify each environment variable as a KEY=VALUE pair. Separate multiple pairs with ||.
The following table lists the supported environment variables and their default values.
Environment variable | Description | Default value |
USER | User account under which commands run using su in non-Kerberized clusters. | Empty |
MAPPERS | Number of mappers to use for the ExportSnapshot operation. | 8 |
MR_QUEUE | Name of the MapReduce queue used to run ExportSnapshot jobs. | default |
EXPORT_OPTS | Additional command-line options for the ExportSnapshot operation. | --chuser hbase --chgroup hbase |
LOG_DIR | Directory where replication log files are stored. | /var/log/hbase-replication |
Example:
Enter the following value in the Extra Environment Variables field:
USER=hdfs||MAPPERS=8||MR_QUEUE=default||EXPORT_OPTS=--chuser hbase --chgroup hbase||LOG_DIR=/var/log/hbase-replication
HBase Disaster Recovery — Execution Guidelines
- Host Selection

Ensure that only one host is selected when executing the script.
If multiple hosts are selected, the Disaster Recovery script may:
- Run simultaneously on multiple hosts
- Ingest duplicate data into the destination cluster
- Fail due to concurrent execution conflicts
- Timeout Settings

Benchmark Results
The following results were observed under test conditions:
Data Size (GB) | Observed Time (In Seconds) |
|---|---|
10 | 2430 |
20 | 5100 |
40 | 9240 |
Test environment:
- 2-node ODP cluster
- Each node:
- 8 CPU cores
- 32 GB RAM
- 200 GB disk
Minimum configured timeout value: 1000 seconds
Recommended Action Timeout
Set the action timeout to:
1000 seconds per GB of replication data
This recommendation provides a buffer over the observed rate (~250 s/GB), accounting for:
- YARN resource availability delays
- Network bandwidth limitations
- Production workload contention
- Limitation
If replication exceeds the configured action timeout:
- The Action Server reports a timeout failure
- However, the replication process continues running in the background on the VM
If Timeout Occurs
- SSH into the VM where the plugin is running
- Check the replication log:
/var/log/hbase-replication
- If replication exceeds 1000 s/GB:
- Investigate cluster resource utilization
- Check network performance
- Validate YARN queue availability before re-running
HDFS Balancer
Creates an action script to run HDFS datanode balancer with network bandwidth option. User requires path privileges and permissions.
Enter the following parameters and click Next:
- (Optional) Network Bandwidth: Enter the network bandwidth consumed by each DataNode, default bandwidth is 500MB/s.
- (Optional) Threshold: Enter the threshold(%) limit for balancer to move data, default threshold is 5.
- (Optional) Moved Window Width: Time window for moved blocks to avoid redundant moves. Default value = (from hdfs-site.xml OR 5400000 ms).
- (Optional) Mover Threads: Enter the number of threads to move blocks during balancing. Default value = (from hdfs-site.xml OR 1000).
- (Optional) Dispatcher Threads: Enter the size of the thread pool for the HDFS balancer block mover. Default value = (from hdfs-site.xml OR 200).__
- (Optional) Maximum Concurrent Moves: Enter the maximum number of concurrent block moves allowed for the balancer. Default value = (from hdfs-site.xml OR 100).
- (Optional) Get Blocks Size: Size of blocks fetched from data nodes during balancing. Default value = (from hdfs-site.xml OR 2147483648 bytes (2GB)).
- (Optional) Get Blocks Min Block Size: Enter the minimum size of blocks to be considered during balancing. Default value = (from hdfs-site.xml OR 10485760 bytes (10MB)).
- (Optional) Maximum Size to Move: Enter the maximum size of a single block to move during balancing. Default value = (from hdfs-site.xml OR 10737418240 bytes (10GB)).
- (Optional) Block Size: The HDFS block size. Default value = (from hdfs-site.xml OR 134217728 bytes (128MB)).
- __(Optional) Maximum Idle Iterations: Enter the maximum number of idle iterations before exit. Default value = (from hdfs-site.xml OR 5).
- (Optional) Maximum Queries Per Second: Enter the maximum number of getBlocks RPCs, data movement utilities can make to a NameNode per second. Default value = (from hdfs-site.xml OR 20).
Hbase Compact Tables
Creates an action script to compact Hbase region/table/column family.
Enter the following parameters and click Next:
- Hbase Object: Enter the HBase object to be compacted.
- Compaction Type: Enter the HBase compaction type 'major' / 'minor'.
Hbase Hbck Action
Creates an Action script to run Hbck command to detect and fix the region inconsistencies.
Enter the Action Command. Enter the single operation in the field.

Have a suggestion?