Configuring the NetBackup for Hadoop plug-in using the NetBackup for Hadoop configuration file
The backup hosts use the hadoop.conf file to save the configuration settings of the NetBackup for Hadoop plug-in. You need to create a separate file for each backup host and copy it to the /usr/openv/var/global/. You need to manually create the hadoop.conf file in JSON format. This file is not available by default with the installer.
Note:
You must not provide a blank value for any of the parameters, or the backup job fails.
Ensure that you configure all the required parameters to run the backup and restore operations successfully.
With this release, the following plug-in settings can be configured:
Following is an example of the hadoop.conf file.
Note:
For non-HA environment, the fail-over parameters are not required.
{
"application_servers":
{
"hostname_of_the_primary_namenode":
{
"failover_namenodes":
[
{
"hostname":"hostname_of_failover_namenode",
"port":port_of_the_failover_namenode
}
],
"port":port_of_the_primary_namenode
"distro_algo": distribution_algorithm,
"num_streams": number_of_streams
}
}
},
"number_of_threads":number_of_threads
}