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

TestFsck fails on Windows

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.0, 3.0.0-alpha1
    • Fix Version/s: 2.1.1-beta
    • Component/s: None
    • Labels:
      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.3.patch
          3 kB
          Chuan Liu
        3. HDFS-5105-trunk.2.patch
          3 kB
          Chuan Liu

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: