Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka, mail # dev - [jira] [Closed] (KAFKA-870) hadoop-producer KafkaRecordWriter writes entire input buffer capacity, even when intended payload is smaller


Copy link to this message
-
[jira] [Closed] (KAFKA-870) hadoop-producer KafkaRecordWriter writes entire input buffer capacity, even when intended payload is smaller
"Neha Narkhede 2013-04-23, 02:25

     [ https://issues.apache.org/jira/browse/KAFKA-870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Neha Narkhede closed KAFKA-870.
-------------------------------

    
> hadoop-producer KafkaRecordWriter writes entire input buffer capacity, even when intended payload is smaller
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-870
>                 URL: https://issues.apache.org/jira/browse/KAFKA-870
>             Project: Kafka
>          Issue Type: Bug
>          Components: contrib
>    Affects Versions: 0.7, 0.8
>            Reporter: David Stein
>              Labels: patch
>         Attachments: kafka-0.7.patch, kafka-0.8.patch
>
>
> KafkaRecordWriter incorrectly gets the entire buffer capacity of the input BytesWritable.
> If the capacity is larger than the underlying represented byte array, then the message will be padded with garbage bytes at the end.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira