Matthias J. Sax created KAFKA-8082:
--------------------------------------
Summary: Flaky Test
ProducerFailureHandlingTest#testNotEnoughReplicasAfterBrokerShutdown
Key: KAFKA-8082
URL: https://issues.apache.org/jira/browse/KAFKA-8082
Project: Kafka
Issue Type: Bug
Components: core, unit tests
Affects Versions: 2.2.0
Reporter: Matthias J. Sax
Fix For: 2.3.0, 2.2.1
[https://jenkins.confluent.io/job/apache-kafka-test/job/2.2/61/testReport/junit/kafka.api/ProducerFailureHandlingTest/testNotEnoughReplicasAfterBrokerShutdown/]
{quote}java.util.concurrent.ExecutionException:
org.apache.kafka.common.errors.NotEnoughReplicasAfterAppendException: Messages
are written to the log, but to fewer in-sync replicas than required. at
org.apache.kafka.clients.producer.internals.FutureRecordMetadata.valueOrError(FutureRecordMetadata.java:98)
at
org.apache.kafka.clients.producer.internals.FutureRecordMetadata.get(FutureRecordMetadata.java:67)
at
org.apache.kafka.clients.producer.internals.FutureRecordMetadata.get(FutureRecordMetadata.java:30)
at
kafka.api.ProducerFailureHandlingTest.testNotEnoughReplicasAfterBrokerShutdown(ProducerFailureHandlingTest.scala:270){quote}
STDOUT
{quote}[2019-03-09 03:59:24,897] ERROR [ReplicaFetcher replicaId=0, leaderId=1,
fetcherId=0] Error for partition topic-1-0 at offset 0
(kafka.server.ReplicaFetcherThread:76)
org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server
does not host this topic-partition. [2019-03-09 03:59:28,028] ERROR
[ReplicaFetcher replicaId=0, leaderId=1, fetcherId=0] Error for partition
topic-1-0 at offset 0 (kafka.server.ReplicaFetcherThread:76)
org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server
does not host this topic-partition. [2019-03-09 03:59:42,046] ERROR
[ReplicaFetcher replicaId=0, leaderId=1, fetcherId=0] Error for partition
minisrtest-0 at offset 0 (kafka.server.ReplicaFetcherThread:76)
org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server
does not host this topic-partition. [2019-03-09 03:59:42,245] ERROR
[ReplicaManager broker=1] Error processing append operation on partition
minisrtest-0 (kafka.server.ReplicaManager:76)
org.apache.kafka.common.errors.NotEnoughReplicasException: The size of the
current ISR Set(1, 0) is insufficient to satisfy the min.isr requirement of 3
for partition minisrtest-0 [2019-03-09 04:00:01,212] ERROR [ReplicaFetcher
replicaId=1, leaderId=0, fetcherId=0] Error for partition topic-1-0 at offset 0
(kafka.server.ReplicaFetcherThread:76)
org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server
does not host this topic-partition. [2019-03-09 04:00:02,214] ERROR
[ReplicaFetcher replicaId=1, leaderId=0, fetcherId=0] Error for partition
topic-1-0 at offset 0 (kafka.server.ReplicaFetcherThread:76)
org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server
does not host this topic-partition. [2019-03-09 04:00:03,216] ERROR
[ReplicaFetcher replicaId=1, leaderId=0, fetcherId=0] Error for partition
topic-1-0 at offset 0 (kafka.server.ReplicaFetcherThread:76)
org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server
does not host this topic-partition. [2019-03-09 04:00:23,144] ERROR
[ReplicaFetcher replicaId=0, leaderId=1, fetcherId=0] Error for partition
topic-1-0 at offset 0 (kafka.server.ReplicaFetcherThread:76)
org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server
does not host this topic-partition. [2019-03-09 04:00:24,146] ERROR
[ReplicaFetcher replicaId=0, leaderId=1, fetcherId=0] Error for partition
topic-1-0 at offset 0 (kafka.server.ReplicaFetcherThread:76)
org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server
does not host this topic-partition. [2019-03-09 04:00:25,148] ERROR
[ReplicaFetcher replicaId=0, leaderId=1, fetcherId=0] Error for partition
topic-1-0 at offset 0 (kafka.server.ReplicaFetcherThread:76)
org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server
does not host this topic-partition. [2019-03-09 04:00:44,607] ERROR
[ReplicaFetcher replicaId=1, leaderId=0, fetcherId=0] Error for partition
minisrtest2-0 at offset 0 (kafka.server.ReplicaFetcherThread:76)
org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server
does not host this topic-partition.{quote}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)