[ https://issues.apache.org/jira/browse/MAPREDUCE-6122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Nauroth updated MAPREDUCE-6122: ------------------------------------- Attachment: MAPREDUCE-6122.1.patch Here is a trivial patch that adds a .gitattributes file to specify the correct line endings for the test data files. We've previously verified that this technique works in HDFS-7172. > 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: Minor > 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)