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

Switch to Threaded View
Kafka, mail # dev - [jira] [Commented] (KAFKA-707) Improve error message in the producer when sending data to a partition without an active leader


Copy link to this message
-
[jira] [Commented] (KAFKA-707) Improve error message in the producer when sending data to a partition without an active leader
"Neha Narkhede 2013-01-18, 05:44

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

Neha Narkhede commented on KAFKA-707:
-------------------------------------

[2013-01-17 21:41:19,151] WARN Failed to send data List(ByteBufferMessageSet(MessageAndOffset(Message(magic = 0, attributes = 0, crc = 2829517411, key = null, payload = java.nio.HeapByteBuffer[pos=0 lim=100 cap=100]),0) since partitions [test3,0],[test2,0],[test1,0],[test5,0],[test4,0] don't have a leader (kafka.producer.async.DefaultEventHandler)
                
> Improve error message in the producer when sending data to a partition without an active leader
> -----------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-707
>                 URL: https://issues.apache.org/jira/browse/KAFKA-707
>             Project: Kafka
>          Issue Type: Improvement
>          Components: producer
>    Affects Versions: 0.8
>            Reporter: Neha Narkhede
>            Assignee: Neha Narkhede
>         Attachments: kafka-707.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> We log a very cryptic message when the producer tries to send data to a partition that doesn't have a leader at that moment -
> Failed to send to broker -1 with data Map([PageViewEventByGroupJson,8]
> Let's improve this to log a better error message

--
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