[ 
https://issues.apache.org/jira/browse/SENTRY-1063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sravya Tirukkovalur resolved SENTRY-1063.
-----------------------------------------
    Resolution: Not A Problem

It seems pretty weird to have a hive object on hdfs root. Hence, closing this 
for now. Unless we hear this as a requirement.

> parsePath should handle root directory
> --------------------------------------
>
>                 Key: SENTRY-1063
>                 URL: https://issues.apache.org/jira/browse/SENTRY-1063
>             Project: Sentry
>          Issue Type: Bug
>          Components: Hdfs Plugin
>    Affects Versions: 1.7.0
>            Reporter: Sravya Tirukkovalur
>            Priority: Minor
>
> {noformat}
> return Lists.newArrayList(uri.getPath().split("^/")[1]
>             .split("/"));
> {noformat}
> This code snippet assumes the path is a non root path, hence fails if 
> "hdfs:///" is passed.



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

Reply via email to