Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Ex. Mount Table has only two entries. /dir/int
getContentSummary on / throws :
java.io.IOException: Internal implementation error: expected file name to be / at org.apache.hadoop.fs.viewfs.ViewFileSystem$InternalDirOfViewFs.checkPathIsSlash(ViewFileSystem.java:1148) at org.apache.hadoop.fs.viewfs.ViewFileSystem$InternalDirOfViewFs.getFileStatus(ViewFileSystem.java:1215) at org.apache.hadoop.fs.FileSystem.getContentSummary(FileSystem.java:1788) at org.apache.hadoop.fs.FileSystem.getContentSummary(FileSystem.java:1799) at org.apache.hadoop.fs.viewfs.ViewFileSystem.getContentSummary(ViewFileSystem.java:892)
The getContentSummary on / gets /dir, /dir has isDirectory true, so again getContentSummary on /dir is called. But the filesystem is Internal View FS and expects the path to be / only
Attachments
Issue Links
- duplicates
-
HADOOP-17032 Handle an internal dir in viewfs having multiple children mount points pointing to different filesystems
- Resolved
- links to