You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Hao Hao (JIRA)" <ji...@apache.org> on 2016/04/05 00:37:25 UTC
[jira] [Updated] (SENTRY-1002) PathsUpdate.parsePath(path) will
throw an NPE when parsing relative paths
[ https://issues.apache.org/jira/browse/SENTRY-1002?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hao Hao updated SENTRY-1002:
----------------------------
Attachment: (was: SENTRY-1002.patch)
> 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
> Assignee: Hao Hao
> Fix For: 1.7.0
>
> Attachments: SENTRY-1002.1.patch, SENTRY-1002.2.patch, SENTRY-1002.3.patch, SENTRY-1002.patch
>
>
> 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)