Veritas NetBackup for Hadoop Administrator's Guide
- Introduction
- Deploying the Hadoop plug-in
- Configuring NetBackup for Hadoop
- About configuring NetBackup for Hadoop
- Managing backup hosts
- Adding Hadoop credentials in NetBackup
- Configuring the Hadoop plug-in using the Hadoop configuration file
- Configuration for a Hadoop cluster that uses Kerberos
- Configuring NetBackup policies for Hadoop plug-in
- Disaster recovery of a Hadoop cluster
- Performing backups and restores of Hadoop
- Troubleshooting
- About troubleshooting NetBackup for Hadoop issues
- About NetBackup for Hadoop debug logging
- Troubleshooting backup issues for Hadoop data
- Backup operation for Hadoop fails with error code 6599
- Backup operation fails with error 6609
- Backup operation failed with error 6618
- Backup operation fails with error 6647
- Extended attributes (xattrs) and Access Control Lists (ACLs) are not backed up or restored for Hadoop
- Backup operation fails with error 6654
- Backup operation fails with bpbrm error 8857
- Backup operation fails with error 6617
- Backup operation fails with error 6616
- Troubleshooting restore issues for Hadoop data
- Restore fails with error code 2850
- NetBackup restore job for Hadoop completes partially
- Extended attributes (xattrs) and Access Control Lists (ACLs) are not backed up or restored for Hadoop
- Restore operation fails when Hadoop plug-in files are missing on the backup host
- Restore fails with bpbrm error 54932
- Restore operation fails with bpbrm error 21296
Restoring Hadoop data on an alternate Hadoop cluster
NetBackup lets you restore Hadoop data to another NameNode or Hadoop cluster. This type of restore method is also referred to as redirected restores.
Note:
NetBackup supports redirected restores only using the Command Line Interface (CLI).
Note:
Make sure that you have added the credentials for the alternate NameNode or Hadoop cluster in NetBackup master server and also completed the Whitelisting tasks on NetBackup master server. For more information about how to add Hadoop credentials in NetBackup and whitlelisting procedures, See Adding Hadoop credentials in NetBackup. See Whitelisting a NetBackup client on NetBackup master server.
To perform redirected restore for Hadoop
- Modify the values for rename_file and listfile as follows:
Parameter
Value
rename_file
Change
/<source_folder_path>to/<destination_folder_path> ALT_APPLICATION_SERVER=<alternate name node>listfile
List of all the Hadoop files to be restored
- Run the bprestore -S master_server -D backup_host -C client -R rename_file -t 44 -L progress log -f listfile command on the NetBackup master server using the modified values for the mentioned parameters in step 1.
Where,
-S master_serverSpecifies the name of the NetBackup master server.
-D backup hostSpecifies the name of the backup host.
-C clientSpecifies a NameNode as a source to use for finding backups or archives from which to restore files. This name must be as it appears in the NetBackup catalog.
-f listfileSpecifies a file (listfile) that contains a list of files to be restored and can be used instead of the file names option. In listfile, list each file path must be on a separate line.
-L progress_logSpecifies the name of whitelisted file path in which to write progress information.
-t 44Specifies BigData as the policy type.
-R rename_fileSpecifies the name of a file with name changes for alternate-path restores.
Use the following form for entries in the rename file:
change backup_filepath to restore_filepath ALT_APPLICATION_SERVER=<Application Server Name>The file paths must start with / (slash).
Note:
Ensure that you have whitelisted all the file paths such as
<rename_file_path>,<progress_log_path>that are already not included as a part of NetBackup install path.