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

TestJournalNode fails on Windows

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • 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

      The test fails with the below assertion:

      testFailToStartWithBadConfig(org.apache.hadoop.hdfs.qjournal.server.TestJournalNode)  Time elapsed: 209 sec  <<< FAILURE!
      java.lang.AssertionError: Expected to find 'is not a directory' but got unexpected exception:java.lang.IllegalArgumentException: Journal dir '\dev\null' should be an absolute path
      	at org.apache.hadoop.hdfs.qjournal.server.JournalNode.validateAndCreateJournalDir(JournalNode.java:96)
      	at org.apache.hadoop.hdfs.qjournal.server.JournalNode.start(JournalNode.java:132)
      	at org.apache.hadoop.hdfs.qjournal.server.TestJournalNode.assertJNFailsToStart(TestJournalNode.java:294)
      	at org.apache.hadoop.hdfs.qjournal.server.TestJournalNode.testFailToStartWithBadConfig(TestJournalNode.java:281)
      

        Attachments

        1. HDFS-4604.patch
          5 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: