[
https://issues.apache.org/jira/browse/SENTRY-964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15011746#comment-15011746
]
Andrés Cordero commented on SENTRY-964:
---------------------------------------
Given that HDFS is case sensitive, is a case insensitive check the way to go?
It will cause grants on unexpected paths. Sounds like Impala shouldn't be lower
casing the path before sending it to Sentry.
> Need to do case insensitive checks for childURI.implies(parentURI)
> ------------------------------------------------------------------
>
> Key: SENTRY-964
> URL: https://issues.apache.org/jira/browse/SENTRY-964
> Project: Sentry
> Issue Type: Bug
> Affects Versions: 1.3.0
> Reporter: Sravya Tirukkovalur
> Assignee: Sravya Tirukkovalur
> Fix For: 1.7.0
>
> Attachments: SENTRY-964.0.patch
>
>
> Following does not seem to work:
> grant all on URI '*/tmp/ABC*' to role test_sentry;
> create external table test(col int) location '*/tmp/abc/hh*';
> But following seems to work:
> grant all on URI '*/tmp/ABC/hhh*' to role test_sentry;
> create external table test(col int) location '*/tmp/abc/hh*';
> grant all on URI '*/tmp/abc*' to role test_sentry;
> create external table test(col int) location '*/tmp/abc/hh*';
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)