Sravya Tirukkovalur created SENTRY-1063:
-------------------------------------------
Summary: 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)