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
Preparing the NetBackup for Hadoop cluster
Perform the following tasks to prepare the NetBackup for Hadoop cluster for NetBackup:
Ensure that the NetBackup for Hadoop directory is snapshot-enabled.
To make a directory snapshottable, run the following command on the NameNodes:
hdfs dfsadmin -allowSnapshot directory_name
Note:
A directory cannot be snapshot-enabled if one of its ancestors or descendants is a snapshot-enabled directory.
For more information, refer to the NetBackup for Hadoop documentation.
Update firewall settings (ensure that the correct port is added along with the Hadoop credentials) so that the backup hosts can communicate with the NetBackup for Hadoop cluster.
Add the entries of all the NameNodes and DataNodes to the
/etc/hosts
file on all the backup hosts. You must add the hostname in FQDN format.Or
Add the appropriate DNS entries in the
/etc/resolv.conf
file.Ensure that webhdfs service is enabled on the NetBackup for Hadoop cluster.