Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-7102

Fix TestJavaSerialization for Windows due a mismatch line separator

    Details

    • Type: Test
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 2.10.0, 3.2.0, 3.1.1, 3.0.4, 2.9.2
    • Component/s: None
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      TestJavaSerialization#testWriteToSequencefile and testMapReduceJob fails on Windows.

      testWriteToSequencefile fails due to a missing InputStream.close() link of the test result.

      testMapReduceJob fails due to a mismatch on line separator. System.getProperty("line.separator") in Windows is /r/n while in Linux is only /n. 

        Attachments

        1. MAPREDUCE-7102.v1.patch
          3 kB
          Giovanni Matteo Fumarola
        2. MAPREDUCE-7102.v2.patch
          2 kB
          Giovanni Matteo Fumarola

          Issue Links

            Activity

              People

              • Assignee:
                giovanni.fumarola Giovanni Matteo Fumarola
                Reporter:
                giovanni.fumarola Giovanni Matteo Fumarola
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: