You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jay Kreps (JIRA)" <ji...@apache.org> on 2014/02/21 05:30:19 UTC

[jira] [Resolved] (KAFKA-1256) Improve error reporting in the Sender for request types

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

Jay Kreps resolved KAFKA-1256.
------------------------------

    Resolution: Fixed

This was resolved so that the schema error always refers to the field that was wrong.

> Improve error reporting in the Sender for request types
> -------------------------------------------------------
>
>                 Key: KAFKA-1256
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1256
>             Project: Kafka
>          Issue Type: Sub-task
>          Components: producer 
>    Affects Versions: 0.9.0
>            Reporter: Neha Narkhede
>            Priority: Critical
>
> I ran a test using the new mirror maker to copy one large topic and ran into the following error in the producer -
> java.lang.IllegalStateException: Attempt to begin a send operation with prior send operation still in progress.
>         at org.apache.kafka.common.network.Selector.poll(Selector.java:188)
>         at org.apache.kafka.clients.producer.internals.Sender.run(Sender.java:151)
>         at org.apache.kafka.clients.producer.internals.Sender.run(Sender.java:98)
>         at java.lang.Thread.run(Thread.java:619)
> org.apache.kafka.common.protocol.types.SchemaException: org.apache.kafka.common.protocol.types.SchemaException
>         at org.apache.kafka.common.protocol.types.Schema.read(Schema.java:69)
>         at org.apache.kafka.clients.producer.internals.Sender.handleResponses(Sender.java:288)
>         at org.apache.kafka.clients.producer.internals.Sender.run(Sender.java:158)
>         at org.apache.kafka.clients.producer.internals.Sender.run(Sender.java:98)
>         at java.lang.Thread.run(Thread.java:619)
> org.apache.kafka.common.protocol.types.SchemaException: org.apache.kafka.common.protocol.types.SchemaException
>         at org.apache.kafka.common.protocol.types.Schema.read(Schema.java:69)
>         at org.apache.kafka.clients.producer.internals.Sender.handleResponses(Sender.java:288)
>         at org.apache.kafka.clients.producer.internals.Sender.run(Sender.java:158)
>         at org.apache.kafka.clients.producer.internals.Sender.run(Sender.java:98)
>         at java.lang.Thread.run(Thread.java:619)
> It is unclear from just SchemaException what type it is complaining about



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)