You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Bharat Viswanadham (Jira)" <ji...@apache.org> on 2020/02/13 00:04:00 UTC

[jira] [Created] (HDFS-15165) In Du missed calling getAttributesProvider

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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org