[ http://issues.apache.org/jira/browse/HADOOP-517?page=all ]
Hairong Kuang updated HADOOP-517:
---------------------------------
Attachment: eol.patch
In hadoop streaming all the input streams passed to readLine support mark and
reset. So the attached new patch followed Doug's suggestion.
> readLine function of UTF8ByteArrayUtils does not handle end of line correctly
> -----------------------------------------------------------------------------
>
> Key: HADOOP-517
> URL: http://issues.apache.org/jira/browse/HADOOP-517
> Project: Hadoop
> Issue Type: Bug
> Environment: windows
> Reporter: Hairong Kuang
> Assigned To: Hairong Kuang
> Fix For: 0.6.0
>
> Attachments: eol.patch, eol.patch
>
>
> The readLine function does not read ahead looking for '\n' after it reads
> '\r'. Therefore it incorrectly generates two lines, wth the second one empty
> in the window platform.
--
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