Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-8129

ViewFileSystemTestSetup setupForViewFileSystem is erring when the user's home directory is somewhere other than /home (eg. /User) etc.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.0
    • Fix Version/s: 0.23.3, 2.0.2-alpha
    • Component/s: fs, test
    • Labels:

      Description

      All TestFSMainOperationsLocalFileSystem tests (99 in all) fail saying:

      java.io.FileNotFoundException: /home
      	at org.apache.hadoop.fs.viewfs.InodeTree.resolve(InodeTree.java:403)
      	at org.apache.hadoop.fs.viewfs.ViewFileSystem.mkdirs(ViewFileSystem.java:373)
      	at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:1684)
      	at org.apache.hadoop.fs.FSMainOperationsBaseTest.setUp(FSMainOperationsBaseTest.java:90)
      	at org.apache.hadoop.fs.viewfs.TestFSMainOperationsLocalFileSystem.setUp(TestFSMainOperationsLocalFileSystem.java:42)
      

        Attachments

        1. HADOOP-8129.patch
          1 kB
          Ravi Prakash
        2. HADOOP-8129.patch
          1 kB
          Ahmed Radwan

          Activity

            People

            • Assignee:
              ahmed.radwan Ahmed Radwan
              Reporter:
              raviprak Ravi Prakash
            • Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: