Details
Description
Exception :
java.lang.IllegalArgumentException: Can not create a Path from an empty string at org.apache.hadoop.fs.Path.checkPathArg(Path.java:172) at org.apache.hadoop.fs.Path.<init>(Path.java:184) at org.apache.hadoop.fs.viewfs.ViewFileSystem$InternalDirOfViewFs.listStatus(ViewFileSystem.java:1207) at org.apache.hadoop.fs.viewfs.ViewFileSystem.listStatus(ViewFileSystem.java:514) at org.apache.hadoop.fs.FileSystemContractBaseTest.assertListStatusFinds(FileSystemContractBaseTest.java:867) at org.apache.hadoop.fs.viewfs.TestViewFileSystemOverloadSchemeHdfsFileSystemContract.testListStatusRootDir(TestViewFileSystemOverloadSchemeHdfsFileSystemContract.java:119)
The reason for failure being, the mount destination for /user and /append in the test is just the URI, with no further path.
Thus while listing, in order to fetch the permissions, the destination URI is used to get the path, which resolves being empty. Hence the failure
Attachments
Issue Links
- is related to
-
HADOOP-17029 ViewFS does not return correct user/group and ACL
- Resolved
- relates to
-
HDFS-15289 Allow viewfs mounts with HDFS/HCFS scheme and centralized mount table
- Open