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

TestFsck fails on Windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3.0, 3.0.0-alpha1
    • 2.1.1-beta
    • None
    • None

    Description

      TestFsck fails on Windows for two reasons.

      1. log audit file is not closed in previous test case, which leads to the deletion failure on Windows in the next test case. Because the file is not deleted, it is written twice and the output does not match the expectation.
      2. When comparing output string, we used '\n' while the line ending is '\r\n' on Windows.

      Attachments

        1. HDFS-5105-trunk.patch
          1 kB
          Chuan Liu
        2. HDFS-5105-trunk.2.patch
          3 kB
          Chuan Liu
        3. HDFS-5105-trunk.3.patch
          3 kB
          Chuan Liu

        Issue Links

          Activity

            People

              chuanliu Chuan Liu
              chuanliu Chuan Liu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: