NetBackup™ for Hadoop Administrator's Guide
- Introduction
- Prerequisites and best practices for the NetBackup for Hadoop plug-in for NetBackup
- Configuring NetBackup for Hadoop
- Managing backup hosts
- Configuring the NetBackup for Hadoop plug-in using the NetBackup for Hadoop configuration file
- Configuring communication between NetBackup and Hadoop clusters that are SSL-enabled (HTTPS)
- Performing backups and restores of Hadoop
- Troubleshooting
- Troubleshooting backup issues for NetBackup for Hadoop data
- Troubleshooting restore issues for NetBackup for Hadoop data
Adding NetBackup for Hadoop credentials in NetBackup
To establish a seamless communication between NetBackup for Hadoop clusters and NetBackup for successful backup and restore operations, you must add and update NetBackup for Hadoop credentials to the NetBackup primary server.
Use the tpconfig command to add NetBackup for Hadoop credentials in NetBackup primary 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 NetBackup for Hadoop credentials:
For a highly-available NetBackup for 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 NetBackup for 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 NetBackup for 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 hadoop -application_server_user_id Hadoop -requiredport 50070 -password Hadoop
Here, the value
hadoop
specified for-application_type
parameter corresponds to Hadoop. - Run the tpconfig -dappservers command to verify if the NetBackup primary server has the Hadoop credentials added.