[
https://issues.apache.org/jira/browse/SENTRY-936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14981557#comment-14981557
]
Sravya Tirukkovalur commented on SENTRY-936:
--------------------------------------------
@Lenni: Just to confirm the behavior of getUser/ getGroup/ getFsPermission
Old behavior:
If in prefix + unmanaged:
- Not stale: defaultProvider
- Stale: hive:hive, 770
If managed : hive:hive, 770
New behavior:
If in prefix + unmanaged: defaultProvider
If managed : hive:hive, 770
1. Will add tests.
2. Not sure if we ever want to affect unmanaged paths?
3. Yes, behavior is same irrespective of staleness.
> getGroup and getUser should always return orginal hdfs values for paths in
> prefix which are not sentry managed
> --------------------------------------------------------------------------------------------------------------
>
> Key: SENTRY-936
> URL: https://issues.apache.org/jira/browse/SENTRY-936
> Project: Sentry
> Issue Type: Bug
> Components: Hdfs Plugin
> Affects Versions: 1.4.0
> Reporter: Sravya Tirukkovalur
> Assignee: Sravya Tirukkovalur
> Fix For: 1.7.0
>
> Attachments: SENTRY-936.1.patch, SENTRY-936.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)