Veritas NetBackup™ for Hadoop Administrator's Guide
- Introduction
- Deploying the Hadoop plug-in
- Configuring NetBackup for Hadoop
- About configuring NetBackup for Hadoop
- Managing backup hosts
- Adding Hadoop credentials in NetBackup
- Configuring the Hadoop plug-in using the Hadoop configuration file
- Configuration for a Hadoop cluster that uses Kerberos
- Configuring NetBackup policies for Hadoop plug-in
- Disaster recovery of a Hadoop cluster
- Performing backups and restores of Hadoop
- Troubleshooting
- About troubleshooting NetBackup for Hadoop issues
- About NetBackup for Hadoop debug logging
- Troubleshooting backup issues for Hadoop data
- Backup operation fails with error 112
- Backup operation fails with error 6609
- Backup operation failed with error 6618
- Backup operation fails with error 6647
- Extended attributes (xattrs) and Access Control Lists (ACLs) are not backed up or restored for Hadoop
- Backup operation fails with error 6654
- Backup operation fails with bpbrm error 8857
- Backup operation fails with error 6617
- Backup operation fails with error 6616
- Troubleshooting restore issues for Hadoop data
- Restore fails with error code 2850
- NetBackup restore job for Hadoop completes partially
- Extended attributes (xattrs) and Access Control Lists (ACLs) are not backed up or restored for Hadoop
- Restore operation fails when Hadoop plug-in files are missing on the backup host
- Restore fails with bpbrm error 54932
- Restore operation fails with bpbrm error 21296
Adding Hadoop credentials in NetBackup
To establish a seamless communication between Hadoop clusters and NetBackup for successful backup and restore operations, you must add and update Hadoop credentials to the NetBackup master server.
Use the tpconfig command to add Hadoop credentials in NetBackup master server.
For information on parameters to delete and update the credentials using the tpconfig command, see the NetBackup Commands Reference Guide.
Consider the following when you add Hadoop credentials:
For a highly-available Hadoop cluster, ensure that the user for the primary and fail-over NameNode is the same.
Use the credentials of the application server that you will use when configuring the BigData policy.
For a Hadoop cluster that uses Kerberos, specify "kerberos" as application_server_user_id value.
Hostname and port of the NameNode must be same as you have specified with the http address parameter in the
core-site.xmlof the Hadoop cluster.For password, provide any random value. For example, Hadoop.
To add Hadoop credentials in NetBackup
- Run tpconfig command from the following directory paths:
On UNIX systems, /usr/openv/volmgr/bin/
On Windows systems, install_path\Volmgr\bin\
- Run the tpconfig --help command. A list of options which are required to add, update, and delete Hadoop credentials is displayed.
- Run the tpconfig -add -application_server application_server_name -application_server_user_id user_ID -application_type application_type -requiredport IP_port_number [-password password [-key encryption_key]] command by providing appropriate values for each parameter to add Hadoop credentials.
For example, if you want to add credentials for Hadoop server which has application_server_name as hadoop1, then run the following command using the appropriate <user_ID> and <password> details.
tpconfig -add -application_server hadoop1 -application_type 1 -application_server_user_id Hadoop -password Hadoop
Here, the numeric value
1specified for-application_typeparameter corresponds to Hadoop. - Run the tpconfig -dappservers command to verify if the NetBackup master server has the Hadoop credentials added.