[ https://issues.apache.org/jira/browse/MAPREDUCE-2602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13070828#comment-13070828 ]
Hudson commented on MAPREDUCE-2602: ----------------------------------- Integrated in Hadoop-Mapreduce-trunk-Commit #756 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/756/]) MAPREDUCE-2602. Allow setting of end-of-record delimiter for TextInputFormat for the old API. Contributed by Ahmed Radwan. todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1150926 Files : * /hadoop/common/trunk/mapreduce/src/java/org/apache/hadoop/mapred/TextInputFormat.java * /hadoop/common/trunk/mapreduce/src/java/org/apache/hadoop/mapred/LineRecordReader.java * /hadoop/common/trunk/mapreduce/CHANGES.txt * /hadoop/common/trunk/mapreduce/src/test/mapred/org/apache/hadoop/mapred/TestLineRecordReader.java > Allow setting of end-of-record delimiter for TextInputFormat (for the old API) > ------------------------------------------------------------------------------ > > Key: MAPREDUCE-2602 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-2602 > Project: Hadoop Map/Reduce > Issue Type: Improvement > Reporter: Ahmed Radwan > Assignee: Ahmed Radwan > Fix For: 0.23.0 > > Attachments: MAPREDUCE-2602.patch, MAPREDUCE-2602_rev2.patch > > > Since there are users who are still using the old MR API, it will be useful > to modify the org.apache.hadoop.mapred.LineRecordReader and > org.apache.hadoop.mapred.TextInputFormat to be able to use custom > (user-specified) end-of-record delimiters. This will make use of the > LineReader improvement introduced in HADOOP-7096 that enables the LineReader > to break lines at user-specified delimiters. > Note: MAPREDUCE-2254 already added this improvement to the new API (but not > the old API). -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira