[ 
https://issues.apache.org/jira/browse/MAPREDUCE-6122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14160802#comment-14160802
 ] 

Chris Nauroth commented on MAPREDUCE-6122:
------------------------------------------

bq. -1 tests included. The patch doesn't appear to include any new or modified 
tests.

There are no new tests, but this patch is fixing a failure in the existing 
{{TestLineRecordReader}} in environments that were checking out the file with 
the wrong line endings.

> TestLineRecordReader may fail due to test data files checked out of git with 
> incorrect line endings.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-6122
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6122
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: test
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>            Priority: Trivial
>         Attachments: MAPREDUCE-6122.1.patch
>
>
> {{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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to