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

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.6.0
    • Component/s: test
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: