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.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.23.0
    • 0.23.3, 2.0.2-alpha
    • fs, test

    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

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

            Dates

              Created:
              Updated:
              Resolved: