XMLWordPrintableJSON

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

          Activity

            People

              Unassigned Unassigned
              ayushtkn Ayush Saxena
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: