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/hostsfile on all the backup hosts. You must add the hostname in FQDN format.Or
Add the appropriate DNS entries in the
/etc/resolv.conffile.Ensure that webhdfs service is enabled on the NetBackup for Hadoop cluster.