You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/12/16 05:16:59 UTC

[jira] [Commented] (KAFKA-4549) KafkaLZ4OutputStream output invalid format when it was called close method without flash method

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

ASF GitHub Bot commented on KAFKA-4549:
---------------------------------------

GitHub user fossamagna opened a pull request:

    https://github.com/apache/kafka/pull/2265

    KAFKA-4549: Change to call flush method before writeEndMark method in close method

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/fossamagna/kafka fix-lz4outputstream-close

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/kafka/pull/2265.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2265
    
----
commit 20195e0901951a66e471d02e8c06b4d60856f332
Author: MURAKAMI Masahiko <fo...@gmail.com>
Date:   2016-12-16T04:49:59Z

    Change to call flush method before writeEndMark method in close method

----


> KafkaLZ4OutputStream output invalid format when it was called close method without flash method
> -----------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-4549
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4549
>             Project: Kafka
>          Issue Type: Bug
>          Components: clients
>    Affects Versions: 0.10.0.1
>         Environment: java version "1.8.0_74"
> Java(TM) SE Runtime Environment (build 1.8.0_74-b02)
> Java HotSpot(TM) 64-Bit Server VM (build 25.74-b02, mixed mode)
>            Reporter: MURAKAMI Masahiko
>
> When KafkaLZ4OutputStream was called close method without flash method, not called writeEndMark method. So, it output invalid format.



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