You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Kazuho Fujii (JIRA)" <ji...@apache.org> on 2015/11/03 05:19:27 UTC
[jira] [Created] (HADOOP-12543) Path#isRoot() returns true if the
path is ".".
Kazuho Fujii created HADOOP-12543:
-------------------------------------
Summary: Path#isRoot() returns true if the path is ".".
Key: HADOOP-12543
URL: https://issues.apache.org/jira/browse/HADOOP-12543
Project: Hadoop Common
Issue Type: Bug
Components: fs
Reporter: Kazuho Fujii
{{Path#isRoot()}} methods is expected to return true if and only if the path represents the root of a file system. But, it returns true in the case where the path is ".". This is because {{getParent()}} method returns null when the path in URI is empty.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)