Lenni Kuff created SENTRY-166:
---------------------------------

             Summary: Sentry does not accept URIs with an equals sign (=) in 
path. Fails with llegalArgumentException: Invalid key value
                 Key: SENTRY-166
                 URL: https://issues.apache.org/jira/browse/SENTRY-166
             Project: Sentry
          Issue Type: Bug
    Affects Versions: 1.2.0
            Reporter: Lenni Kuff
            Priority: Critical


Sentry does not accept URIs with an equals sign (=) in path. This is quite 
important for Impala/Hive because in many cases a partition location will have 
an equals sign in the path.

{code}
java.lang.IllegalArgumentException: Invalid key value: 
URI=hdfs://c2102.hal.cloudera.com:8020/test-warehouse/a=1 [URI, 
hdfs://c2102.hal.cloudera.com:8020/test-warehouse/a, 1]
        at org.apache.sentry.provider.file.KeyValue.<init>(KeyValue.java:33)
        at 
org.apache.sentry.policy.db.DBWildcardPermission.<init>(DBWildcardPermission.java:67)
        at 
org.apache.sentry.policy.db.DBWildcardPermission$DBWildcardPermissionFactory.createPermission(DBWildcardPermission.java:178)
        at 
org.apache.sentry.provider.file.ResourceAuthorizationProvider.doHasAccess(ResourceAuthorizationProvider.java:106)
        at 
org.apache.sentry.provider.file.ResourceAuthorizationProvider.hasAccess(ResourceAuthorizationProvider.java:87)
{code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to