[
https://issues.apache.org/jira/browse/FLUME-2508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14483972#comment-14483972
]
Roshan Naik commented on FLUME-2508:
------------------------------------
Left out the platform check as the OS where the files were generated and the
OS on which flume is running may not be same. There are even some unfortunate
cases where a single file contains both types of line ending (typically due to
people switching editors)
This patch should work with any type of file as it drops the \r when found
prior to \n.
> Windows : LineDeserializer causes incorrect behavior in SpoolDir source on
> Windows
> ----------------------------------------------------------------------------------
>
> Key: FLUME-2508
> URL: https://issues.apache.org/jira/browse/FLUME-2508
> Project: Flume
> Issue Type: Bug
> Components: Sinks+Sources, Windows
> Affects Versions: v1.5.0.1
> Reporter: Roshan Naik
> Assignee: Roshan Naik
> Labels: windows
> Attachments: FLUME-2508.patch
>
>
> LineDeserializer does not handle CRLF correctly when reading files
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)