hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harsh J (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (MAPREDUCE-280) TextInputFormat should allow different treatment on carriage return char '\r'
Date Mon, 16 Jan 2012 10:20:40 GMT

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

Harsh J resolved MAPREDUCE-280.
-------------------------------

    Resolution: Not A Problem

TIF now has configurable record-delimiter support, and hence this can be closed.
                
> TextInputFormat should allow different treatment on carriage return char '\r'
> -----------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-280
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-280
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>            Reporter: Runping Qi
>            Assignee: Owen O'Malley
>
> The current implementation treat '\r' and '\n' both as line breakers. However, in some
cases, it is desiable to strictly use '\n' as the solely line breaker and treat '\r' as a
part of data in a line. 
> One way to do this is to make readline function as a member function so that the user
can create a subclass to overwrite the function with the desired behavior.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message