[
https://issues.apache.org/jira/browse/RANGER-1252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15852280#comment-15852280
]
Velmurugan Periasamy edited comment on RANGER-1252 at 2/3/17 11:01 PM:
-----------------------------------------------------------------------
[~yzhou2001] - not sure if case sensitivity flag specified in service def
should be used for this.
[~rmani]/[[email protected]]/[~kulkabhay] - any thoughts on this?
was (Author: vperiasamy):
[~yzhou2001] - not sure if case sensitivity flag specified in service def
should be used for this.
[[email protected]]/[~kulkabhay] - any thoughts on this?
> Policy lookup does not honor the case sensitivity flag of resources
> -------------------------------------------------------------------
>
> Key: RANGER-1252
> URL: https://issues.apache.org/jira/browse/RANGER-1252
> Project: Ranger
> Issue Type: Bug
> Components: admin
> Affects Versions: 0.6.2
> Reporter: Yan
> Fix For: 0.7.0
>
> Attachments: Ranger-1252.patch
>
>
> For case insensitive Hive db/table names, the public API's policy lookup does
> not hit the case insensitive names. For instance, the following curl command:
> curl -iv -u admin:admin -H "Content-type:application/json" -X GET
> http://11.22.33.444:6080/service/public/api/policy?databases=db1&tables=table1
> returns different results from running the following command using different
> cases in names:
> curl -iv -u admin:admin -H "Content-type:application/json" -X GET
> http://11.22.33.444:6080/service/public/api/policy?databases=DB1&tables=TABLE1
> if there exists such a Hive table db1/table1 in the metastore.
>
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)