You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "Sravya Tirukkovalur (JIRA)" <ji...@apache.org> on 2015/10/30 00:29:27 UTC
[jira] [Comment Edited] (SENTRY-936) getGroup and getUser should
always return orginal hdfs values for paths in prefix which are not sentry
managed
[ https://issues.apache.org/jira/browse/SENTRY-936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14981557#comment-14981557 ]
Sravya Tirukkovalur edited comment on SENTRY-936 at 10/29/15 11:28 PM:
-----------------------------------------------------------------------
@Lenni: Just to confirm the behavior of getUser/ getGroup/ getFsPermission
Old behavior:
If in prefix + unmanaged:
- Not stale: defaultProvider
- Stale: hive:hive, 771
If managed : hive:hive, 771
New behavior:
If in prefix + unmanaged: defaultProvider
If managed : hive:hive, 771
1. Will add tests.
2. Not sure if we ever want to affect unmanaged paths?
3. Yes, behavior is same irrespective of staleness.
was (Author: sravya):
@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)