Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-4705

Address HDFS test failures on Windows because of invalid dfs.namenode.name.dir

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha1
    • Fix Version/s: 2.1.0-beta
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      Test fails on Windows with the below exception:

      testFormatShouldBeIgnoredForNonFileBasedDirs(org.apache.hadoop.hdfs.server.namenode.TestAllowFormat)  Time elapsed: 49 sec  <<< ERROR!
      java.io.IOException: No image directories available!
      	at org.apache.hadoop.hdfs.server.namenode.FSImage.saveFSImageInAllDirs(FSImage.java:912)
      	at org.apache.hadoop.hdfs.server.namenode.FSImage.saveFSImageInAllDirs(FSImage.java:905)
      	at org.apache.hadoop.hdfs.server.namenode.FSImage.format(FSImage.java:151)
      	at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:758)
      	at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:259)
      	at org.apache.hadoop.hdfs.server.namenode.TestAllowFormat.testFormatShouldBeIgnoredForNonFileBasedDirs(TestAllowFormat.java:181)
      

        Attachments

        1. HDFS-4705.1.patch
          1.0 kB
          Chris Nauroth
        2. HDFS-4705.2.patch
          10 kB
          Ivan Mitic

          Issue Links

            Activity

              People

              • Assignee:
                ivanmi Ivan Mitic
                Reporter:
                ivanmi Ivan Mitic
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: