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

Dong Lin commented on FLINK-16908:
----------------------------------

I think this is due to the same issue as described in 
https://issues.apache.org/jira/browse/FLINK-18634?focusedCommentId=17284445&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17284445

The solution is to bump up Kafka dependency to 2.5.1. 
 

However, Kafka 2.5.1 has dropped support for Scala 2.11. Flink will also need 
to drop support for Scala 2.11 in order to bump up the Kafka dependency to 
2.5.1. More discussion/work is needed in order to make this change.

> FlinkKafkaProducerITCase testScaleUpAfterScalingDown Timeout expired while 
> initializing transactional state in 60000ms.
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-16908
>                 URL: https://issues.apache.org/jira/browse/FLINK-16908
>             Project: Flink
>          Issue Type: Bug
>          Components: Connectors / Kafka
>    Affects Versions: 1.11.0, 1.12.0
>            Reporter: Piotr Nowojski
>            Priority: Critical
>              Labels: test-stability
>             Fix For: 1.13.0
>
>
> https://dev.azure.com/rmetzger/Flink/_build/results?buildId=6889&view=logs&j=c5f0071e-1851-543e-9a45-9ac140befc32&t=f66652e3-384e-5b25-be29-abfea69ea8da
> {noformat}
> [ERROR] 
> testScaleUpAfterScalingDown(org.apache.flink.streaming.connectors.kafka.FlinkKafkaProducerITCase)
>   Time elapsed: 64.353 s  <<< ERROR!
> org.apache.kafka.common.errors.TimeoutException: Timeout expired while 
> initializing transactional state in 60000ms.
> {noformat}
> After this initial error many other tests (I think all following unit tests) 
> failed with errors like:
> {noformat}
> [ERROR] 
> testFailAndRecoverSameCheckpointTwice(org.apache.flink.streaming.connectors.kafka.FlinkKafkaProducerITCase)
>   Time elapsed: 7.895 s  <<< FAILURE!
> java.lang.AssertionError: Detected producer leak. Thread name: 
> kafka-producer-network-thread | producer-196
>       at 
> org.apache.flink.streaming.connectors.kafka.FlinkKafkaProducerITCase.checkProducerLeak(FlinkKafkaProducerITCase.java:675)
>       at 
> org.apache.flink.streaming.connectors.kafka.FlinkKafkaProducerITCase.testFailAndRecoverSameCheckpointTwice(FlinkKafkaProducerITCase.java:311)
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to