Class INodeAttributeProvider
java.lang.Object
org.apache.hadoop.hdfs.server.namenode.INodeAttributeProvider
- Direct Known Subclasses:
DefaultINodeAttributesProvider
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceThe AccessControlEnforcer allows implementations to override the default File System permission checking logic enforced on a file system objectstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAttributes(byte[][] components, INodeAttributes inode) abstract INodeAttributesgetAttributes(String[] pathElements, INodeAttributes inode) getAttributes(String fullPath, INodeAttributes inode) Deprecated.Can be over-ridden by implementations to provide a custom Access Control Enforcer that can provide an alternate implementation of the default permission checking logic.abstract voidstart()Initialize the provider.abstract voidstop()Shutdown the provider.
-
Constructor Details
-
INodeAttributeProvider
public INodeAttributeProvider()
-
-
Method Details
-
start
public abstract void start()Initialize the provider. This method is called at NameNode startup time. -
stop
public abstract void stop()Shutdown the provider. This method is called at NameNode shutdown time. -
getAttributes
Deprecated. -
getAttributes
-
getAttributes
-
getExternalAccessControlEnforcer
public INodeAttributeProvider.AccessControlEnforcer getExternalAccessControlEnforcer(INodeAttributeProvider.AccessControlEnforcer defaultEnforcer) Can be over-ridden by implementations to provide a custom Access Control Enforcer that can provide an alternate implementation of the default permission checking logic.- Parameters:
defaultEnforcer- The Default AccessControlEnforcer- Returns:
- The AccessControlEnforcer to use
-