Veritas NetBackup for Hadoop Administrator's Guide
- Introduction
- Installing and deploying Hadoop plug-in for NetBackup
- Configuring NetBackup for Hadoop
- Managing backup hosts
- Configuring the Hadoop plug-in using the Hadoop configuration file
- Configuring NetBackup policies for Hadoop plug-in
- Performing backups and restores of Hadoop
- Troubleshooting
- Troubleshooting backup issues for Hadoop data
- Troubleshooting restore issues for Hadoop data
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.xml
of 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
1
specified for-application_type
parameter corresponds to Hadoop. - Run the tpconfig -dappservers command to verify if the NetBackup master server has the Hadoop credentials added.