Bharat Viswanadham created HDFS-15165:
-----------------------------------------

             Summary: In Du missed calling getAttributesProvider
                 Key: HDFS-15165
                 URL: https://issues.apache.org/jira/browse/HDFS-15165
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Bharat Viswanadham
            Assignee: Bharat Viswanadham


HDFS-12130 has changed the behavior of DU.

During that change to getInodeAttributes, it missed calling 
getAttributesProvider().getAttributes when it is configured.

Because of this, when sentry is configured for hdfs path, and attributeProvider 
class is set. We missed calling this, and AclFeature from Sentry was missing. 
Because of this when DU command is run on a sentry managed hdfs path, we are 
seeing AccessControlException.

 

This Jira is to fix this issue.
{code:java}
<property> <name>dfs.namenode.inode.attributes.provider.class</name> 
<value>org.apache.sentry.hdfs.SentryINodeAttributesProvider</value> 
</property>{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to