[ 
https://issues.apache.org/jira/browse/FLUME-2968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15418302#comment-15418302
 ] 

yinghua_zh commented on FLUME-2968:
-----------------------------------

The hdfs sink will add default the new line charactor '\n'for every event,you 
can add the param to not add it,for example:
agent1.sinks.sink1.serializer.appendNewline = false

The param "serializer.appendNewline" default value is true,so ervery event it 
will add the new line charactor '\n';
 

> After  transfer the entire file it add a  ‘\n’ to the file
> ----------------------------------------------------------
>
>                 Key: FLUME-2968
>                 URL: https://issues.apache.org/jira/browse/FLUME-2968
>             Project: Flume
>          Issue Type: Bug
>            Reporter: guangtaozhuang
>
> After the transfer the entire file , add a space
> I want to transfer the entire to hdfs and calculate the MD5. But I found that 
> the source file and the file in hdfs MD5 are different. I found that the 
> flume add the '\n' to the file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to