Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Cannot Reproduce
-
1.16.1, 1.17.1
-
None
Description
FlinkKafkaConsumerBaseTest.testClosePartitionDiscovererWithCancellation failed because of that.
[...] Mar 10 01:48:27 Caused by: java.lang.RuntimeException: java.lang.UnsupportedOperationException Mar 10 01:48:27 at org.apache.flink.streaming.connectors.kafka.FlinkKafkaConsumerBase.runWithPartitionDiscovery(FlinkKafkaConsumerBase.java:846) Mar 10 01:48:27 at org.apache.flink.streaming.connectors.kafka.FlinkKafkaConsumerBase.run(FlinkKafkaConsumerBase.java:828) Mar 10 01:48:27 at org.apache.flink.streaming.connectors.kafka.FlinkKafkaConsumerBaseTest.lambda$testNormalConsumerLifecycle$9(FlinkKafkaConsumerBaseTest.java:695) Mar 10 01:48:27 at org.apache.flink.util.function.ThrowingRunnable.lambda$unchecked$0(ThrowingRunnable.java:49) Mar 10 01:48:27 at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1640) Mar 10 01:48:27 at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1632) Mar 10 01:48:27 at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) Mar 10 01:48:27 at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) Mar 10 01:48:27 at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) Mar 10 01:48:27 at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175) Mar 10 01:48:27 Caused by: java.lang.UnsupportedOperationException Mar 10 01:48:27 at java.util.Collections$1.remove(Collections.java:4686) Mar 10 01:48:27 at org.apache.flink.streaming.connectors.kafka.internals.AbstractPartitionDiscoverer.discoverPartitions(AbstractPartitionDiscoverer.java:165) Mar 10 01:48:27 at org.apache.flink.streaming.connectors.kafka.FlinkKafkaConsumerBase.lambda$createAndStartDiscoveryLoop$2(FlinkKafkaConsumerBase.java:880) Mar 10 01:48:27 at java.lang.Thread.run(Thread.java:748)