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

Bob Barrett commented on KAFKA-8325:
------------------------------------

[~mbarbon] Would you be able to upload producer logs from around the time this 
error was raised? This error is caused when the producer tries to deallocate a 
batch that has already been deallocated. There are multiple reasons a batch 
would be removed; the stack trace in this case shows the producer attempting to 
remove a batch that has expired. Additional logs might tell us what actually 
removed the batch before this call was made. If you don't have logs, are you 
aware of any interesting producer event around the time of this error, such an 
aborted transaction or a request timeout?

> Remove from the incomplete set failed. This should be impossible
> ----------------------------------------------------------------
>
>                 Key: KAFKA-8325
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8325
>             Project: Kafka
>          Issue Type: Bug
>          Components: producer 
>    Affects Versions: 2.1.0, 2.3.0
>            Reporter: Mattia Barbon
>            Assignee: Bob Barrett
>            Priority: Major
>
> I got this error when using the Kafka producer. So far it happened twice, 
> with an interval of about 1 week.
> {{ERROR [2019-05-05 08:43:07,505] 
> org.apache.kafka.clients.producer.internals.Sender: [Producer 
> clientId=<redacted>, transactionalId=<redacted>] Uncaught error in kafka 
> producer I/O thread:}}
> {{ ! java.lang.IllegalStateException: Remove from the incomplete set failed. 
> This should be impossible.}}
> {{ ! at 
> org.apache.kafka.clients.producer.internals.IncompleteBatches.remove(IncompleteBatches.java:44)}}
> {{ ! at 
> org.apache.kafka.clients.producer.internals.RecordAccumulator.deallocate(RecordAccumulator.java:645)}}
> {{ ! at 
> org.apache.kafka.clients.producer.internals.Sender.failBatch(Sender.java:717)}}
> {{ ! at 
> org.apache.kafka.clients.producer.internals.Sender.sendProducerData(Sender.java:365)}}
> {{ ! at 
> org.apache.kafka.clients.producer.internals.Sender.run(Sender.java:308)}}
> {{ ! at 
> org.apache.kafka.clients.producer.internals.Sender.run(Sender.java:233)}}
> {{ ! at java.lang.Thread.run(Thread.java:748)}}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to