sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SENTRY-1002) PathsUpdate.parsePath(path) will throw an NPE when parsing relative paths
Date Tue, 26 Jan 2016 07:32:39 GMT

    [ https://issues.apache.org/jira/browse/SENTRY-1002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15116859#comment-15116859
] 

Hadoop QA commented on SENTRY-1002:
-----------------------------------

Here are the results of testing the latest attachment
https://issues.apache.org/jira/secure/attachment/12784368/SENTRY-1002.patch against master.

{color:red}Overall:{color} -1 due to 2 errors

{color:red}ERROR:{color} mvn test exited 1
{color:red}ERROR:{color} Failed: org.apache.sentry.provider.db.generic.service.thrift.TestAuditLogForSentryGenericService

Console output: https://builds.apache.org/job/PreCommit-SENTRY-Build/1113/console

This message is automatically generated.

> 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: Ryan P
>         Attachments: SENTRY-1002.patch, SENTRY-1002.patch, SENTRY-1002.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)

Mime
View raw message