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

Fix TestStartup.testNNFailToStartOnReadOnlyNNDir test failure on Windows

    Details

    • Hadoop Flags:
      Reviewed

      Description

      org.apache.hadoop.hdfs.server.namenode.TestStartup.testNNFailToStartOnReadOnlyNNDir fails on Windows with below error message:

      NN dir should be created after NN startup. expected:<[F:\short\hadoop-trunk-win\s\hadoop-hdfs-project\hadoop-hdfs\target\test\data\3\dfs\testNNFailToStartOnReadOnlyNNDir]name> but was:<[/F:/short/hadoop-trunk-win/s/hadoop-hdfs-project/hadoop-hdfs/target/test/data/3/dfs/testNNFailToStartOnReadOnlyNNDir/]name>

      due to path not processed properly on Windows.

        Attachments

        1. HDFS-13681.000.patch
          2 kB
          Xiao Liang
        2. HDFS-13681.001.patch
          2 kB
          Xiao Liang

          Issue Links

            Activity

              People

              • Assignee:
                surmountian Xiao Liang
                Reporter:
                surmountian Xiao Liang
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: