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

TestLineRecordReader may fail due to test data files checked out of git with incorrect line endings.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 2.6.0
    • test
    • None
    • Reviewed

    Description

      TestLineRecordReader uses several test input files at src/test/resources/*.txt. Some of the tests expect a specific length for the files, such as dealing with a record that spans multiple splits. If they get checked out of git with CRLF line endings by mistake, then the test assertions will fail.

      Attachments

        1. MAPREDUCE-6122.1.patch
          1 kB
          Chris Nauroth

        Activity

          People

            cnauroth Chris Nauroth
            cnauroth Chris Nauroth
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: