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

Fix TestJavaSerialization for Windows due a mismatch line separator

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.1.0
    • 2.10.0, 3.2.0, 3.1.1, 3.0.4, 2.9.2
    • None
    • 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.v2.patch
          2 kB
          Giovanni Matteo Fumarola
        2. MAPREDUCE-7102.v1.patch
          3 kB
          Giovanni Matteo Fumarola

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: