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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 2.1.0-beta
    • None
    • None
    • 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.2.patch
          10 kB
          Ivan Mitic
        2. HDFS-4705.1.patch
          1.0 kB
          Chris Nauroth

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: