TextInputFormat should allow different treatment on carriage return char '\r'
-----------------------------------------------------------------------------

                 Key: HADOOP-759
                 URL: http://issues.apache.org/jira/browse/HADOOP-759
             Project: Hadoop
          Issue Type: Improvement
            Reporter: Runping Qi



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 contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to