sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan P (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SENTRY-1002) PathsUpdate.parsePath(path) will throw an NPE when parsing relative paths
Date Thu, 07 Jan 2016 23:22:40 GMT
Ryan P created SENTRY-1002:
------------------------------

             Summary: PathsUpdate.parsePath(path) will throw an NPE when parsing relative
paths
                 Key: SENTRY-1002
                 URL: https://issues.apache.org/jira/browse/SENTRY-1002
             Project: Sentry
          Issue Type: Bug
          Components: Sentry
    Affects Versions: 1.6.0
            Reporter: Ryan P


There a few edge cases where Paths update may be passed a path which lacks a URI Scheme. 

i.e 

/user/hive/warehouse 

In this situation PathsUpdate will throw an uncaught NPE at the Precondition check. 

Since we only support HDFS anyway I suggest we silently ignore these relative paths.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message