Veritas NetBackup for Hadoop Administrator's Guide
- Introduction
- Installing and deploying Hadoop plug-in for NetBackup
- Configuring NetBackup for Hadoop
- Managing backup hosts
- Configuring the Hadoop plug-in using the Hadoop configuration file
- Configuring NetBackup policies for Hadoop plug-in
- Performing backups and restores of Hadoop
- Troubleshooting
- Troubleshooting backup issues for Hadoop data
- Troubleshooting restore issues for Hadoop data
Extended attributes (xattrs) and Access Control Lists (ACLs) are not backed up or restored for Hadoop
Extended attributes allow user applications to associate additional metadata with a file or directory in Hadoop. By default, this is enabled on Hadoop Distributed File System (HDFS).
Access Control Lists provide a way to set different permissions for specific named users or named groups, in addition to the standard permissions. By default, this is disabled on HDFS.
Hadoop plug-ins do not capture extended attributes or Access Control Lists (ACLs) of an object during backup and hence these are not set on the restored files or folders.
Workaround:
If the extended attributes are set on any of the files or directories that is backed up using the BigData policy with Application_Type = hadoop
, then, you have to explicitly set the extended attributes on the restored data.
Extended attributes can be set using the Hadoop shell commands such as fs -getfattr and hadoop fs -setfattr.
If the Access Control Lists (ACLs) are enabled and set on any of the files or directories that is backed up using the BigData policy with Application_Type = hadoop
, then, you have to explicitly set the ACLs on the restored data.
ACLs can be set using the Hadoop shell commands such as hadoop fs -getfacl and hadoop fs -setfacl.