[ https://issues.apache.org/jira/browse/SENTRY-944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14992853#comment-14992853 ]
Hao Hao edited comment on SENTRY-944 at 11/6/15 1:19 AM: --------------------------------------------------------- Old behavior: -chmod/chown --if under prefix + hive object: writes to hdfs. --if unmanaged: writes to hdfs. -Removing acls: --if under prefix + hive object: removes from hdfs. --if unmanaged: removes from hdfs. -New behavior for chmod/chown: --If under prefix + hive object: no op. --If unmanaged: writes to hdfs. -New behavior for removing acls: --If under prefix: removes from hdfs. --If else: no op. was (Author: hahao): Old behavior: chmod/chown if not under prefix + unmanaged: writes to hdfs. if managed: writes to hdfs. Removing acls: if not under prefix + unmanaged: removes from hdfs. if managed: removes from hdfs. New behavior: If not under prefix: writes to/removes from hdfs. If else: no op. > Setting HDFS rules on Sentry managed hdfs paths should not affect original > hdfs rules > ------------------------------------------------------------------------------------- > > Key: SENTRY-944 > URL: https://issues.apache.org/jira/browse/SENTRY-944 > Project: Sentry > Issue Type: Bug > Components: Hdfs Plugin > Reporter: Sravya Tirukkovalur > Assignee: Hao Hao > Attachments: SENTRY-994.0.patch > > > Current behavior on sentry managed paths which need to be changed: > chmod/chown > - If stale: : fails > -- *writes to hdfs*, but -ls reflects sentry permissions > Removing acls: > - If not stale: fails > -- *removes from hdfs*, getfacl gets from sentry > - If stale: fails > -- *removes from hdfs*, getfacl gets nothing -- This message was sent by Atlassian JIRA (v6.3.4#6332)