hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo Nicholas Sze (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MAPREDUCE-6122) TestLineRecordReader may fail due to test data files checked out of git with incorrect line endings.
Date Fri, 10 Oct 2014 02:38:34 GMT

     [ https://issues.apache.org/jira/browse/MAPREDUCE-6122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tsz Wo Nicholas Sze updated MAPREDUCE-6122:
-------------------------------------------
    Hadoop Flags: Reviewed

+1 patch looks good.

> 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)

Mime
View raw message