[ https://issues.apache.org/jira/browse/MAPREDUCE-7167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16924772#comment-16924772 ]
Hadoop QA commented on MAPREDUCE-7167: -------------------------------------- | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m 0s{color} | {color:blue} Docker mode activated. {color} | | {color:red}-1{color} | {color:red} patch {color} | {color:red} 0m 8s{color} | {color:red} MAPREDUCE-7167 does not apply to trunk. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute for help. {color} | \\ \\ || Subsystem || Report/Notes || | JIRA Issue | MAPREDUCE-7167 | | Console output | https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/7663/console | | Powered by | Apache Yetus 0.8.0 http://yetus.apache.org | This message was automatically generated. > Extra LF ("\n") pushed directly to storage > ------------------------------------------ > > Key: MAPREDUCE-7167 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-7167 > Project: Hadoop Map/Reduce > Issue Type: Bug > Affects Versions: 3.2.0 > Reporter: Saurabh > Assignee: Saurabh > Priority: Major > Attachments: image-2018-11-28-19-23-52-972.png, > image-2018-11-29-14-53-58-176.png, image-2018-11-29-14-54-28-254.png, > nremoved.txt, nremoved.txt, patch1128.patch, patch1128.patch, > patch1128trunk.patch, withn.txt, withn.txt > > > JsonEncoder already adds the necessary newline after writing each object as > per [this| > [https://github.com/apache/avro/blob/39ec1a3f0addfce06869f705f7a17c03d538fe16/lang/java/avro/src/main/java/org/apache/avro/io/JsonEncoder.java#L77] > ] so this patch removes the "out.writeBytes("\n");". As the encoder is > buffered, the out.writeBytes can cause JSON errors in the output stream as it > directly writes to the output stream, hence it must be removed. -- This message was sent by Atlassian Jira (v8.3.2#803003) --------------------------------------------------------------------- To unsubscribe, e-mail: mapreduce-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: mapreduce-issues-h...@hadoop.apache.org