Class XAttrPermissionFilter

java.lang.Object
org.apache.hadoop.hdfs.server.namenode.XAttrPermissionFilter

@Private public class XAttrPermissionFilter extends Object
There are four types of extended attributes <XAttr> defined by the following namespaces:
USER - extended user attributes: these can be assigned to files and directories to store arbitrary additional information. The access permissions for user attributes are defined by the file permission bits. For sticky directories, only the owner and privileged user can write attributes.
TRUSTED - trusted extended attributes: these are visible/accessible only to/by the super user.
SECURITY - extended security attributes: these are used by the HDFS core for security purposes and are not available through admin/user API.
SYSTEM - extended system attributes: these are used by the HDFS core and are not available through admin/user API.
RAW - extended system attributes: these are used for internal system attributes that sometimes need to be exposed. Like SYSTEM namespace attributes they are not visible to the user except when getXAttr/getXAttrs is called on a file or directory in the /.reserved/raw HDFS directory hierarchy. These attributes can only be accessed by the user who have read access.
  • Constructor Details

    • XAttrPermissionFilter

      public XAttrPermissionFilter()