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

Fix TestJavaSerialization for Windows due a mismatch line separator

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment