----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/54684/ -----------------------------------------------------------
Review request for ranger. Repository: ranger Description ------- 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 of db1/table1 in the metastore. Diffs ----- agents-common/src/main/java/org/apache/ranger/plugin/store/AbstractPredicateUtil.java 2c72811 agents-common/src/main/java/org/apache/ranger/plugin/store/ServicePredicateUtil.java d919697 agents-common/src/main/java/org/apache/ranger/plugin/store/ServiceStore.java 89c3326 security-admin/src/main/java/org/apache/ranger/biz/ServiceDBStore.java dfe927f Diff: https://reviews.apache.org/r/54684/diff/ Testing ------- regression and unit tests. Thanks, Yan Zhou
