[ https://issues.apache.org/jira/browse/SENTRY-964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15012407#comment-15012407 ]
Sravya Tirukkovalur commented on SENTRY-964: -------------------------------------------- Looks like Impala is actually storing a lower cased version of uri in catalog service when doing a grant. And also sending a lower cased version of uri when requesting privileges from Sentry. Resolving this as a not bug in Sentry for now as it has to be fixed on Impala side. Will open a new jira for other sentry side fixes. > 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 > 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/hh*' 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)