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

TestEditLogRace fails on Windows

    XMLWordPrintableJSON

Details

    • Reviewed
    • Patch

    Description

      TestEditLogRace fails on Windows

       

      Problem:

      When try to call FSImage.saveFSImageInAllDirs, there's actually no directories existing. This is because the getConf() function doesn't specify creating any directories.

       

      Fix:

      Remove the comment for the two lines that config directories to be created.

       

      Concern:

      Not for sure why it was commented in change https://github.com/apache/hadoop/commit/3cb7ae11a839c01b8be629774874c1873f51b747 And it should also fail for Linux I guess.

      Attachments

        1. TestEditLogRace-Report.000.txt
          3 kB
          Zuoming Zhang
        2. HDFS-13676.000.patch
          1 kB
          Zuoming Zhang
        3. HDFS-13676-branch-2.000.patch
          1 kB
          Zuoming Zhang
        4. TestEditLogRace-Report-branch-2.001.txt
          3 kB
          Zuoming Zhang
        5. HDFS-13676.001.patch
          1 kB
          Zuoming Zhang

        Issue Links

          Activity

            People

              zuzhan Zuoming Zhang
              zuzhan Zuoming Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: