Guowei Ma created FLINK-22466:
--------------------------------- Summary: KafkaSourceLegacyITCase.testOneToOneSources fail because the OperatorEvent lost Key: FLINK-22466 URL: https://issues.apache.org/jira/browse/FLINK-22466 Project: Flink Issue Type: Bug Components: Connectors / Kafka Affects Versions: 1.13.0 Reporter: Guowei Ma https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=17110&view=logs&j=c5f0071e-1851-543e-9a45-9ac140befc32&t=1fb1a56f-e8b5-5a82-00a0-a2db7757b4f5&l=7010 {code:java} 2021-04-23T14:31:37.1620668Z Apr 23 14:31:37 [INFO] Running org.apache.flink.connector.kafka.source.KafkaSourceLegacyITCase 2021-04-23T14:32:27.0398155Z java.util.concurrent.ExecutionException: org.apache.flink.runtime.client.JobExecutionException: Job execution failed. 2021-04-23T14:32:27.0400673Z at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357) 2021-04-23T14:32:27.0401550Z at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1908) 2021-04-23T14:32:27.0402365Z at org.apache.flink.test.util.TestUtils.tryExecute(TestUtils.java:49) 2021-04-23T14:32:27.0403227Z at org.apache.flink.streaming.connectors.kafka.KafkaConsumerTestBase.runOneToOneExactlyOnceTest(KafkaConsumerTestBase.java:1009) 2021-04-23T14:32:27.0403937Z at org.apache.flink.connector.kafka.source.KafkaSourceLegacyITCase.testOneToOneSources(KafkaSourceLegacyITCase.java:77) 2021-04-23T14:32:27.0404881Z at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2021-04-23T14:32:27.0405293Z at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 2021-04-23T14:32:27.0406792Z at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2021-04-23T14:32:27.0407333Z at java.lang.reflect.Method.invoke(Method.java:498) 2021-04-23T14:32:27.0407743Z at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) 2021-04-23T14:32:27.0408318Z at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) 2021-04-23T14:32:27.0408784Z at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) 2021-04-23T14:32:27.0409246Z at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) 2021-04-23T14:32:27.0409742Z at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) 2021-04-23T14:32:27.0410251Z at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) 2021-04-23T14:32:27.0410727Z at java.util.concurrent.FutureTask.run(FutureTask.java:266) 2021-04-23T14:32:27.0411065Z at java.lang.Thread.run(Thread.java:748) 2021-04-23T14:32:27.0411430Z Caused by: org.apache.flink.runtime.client.JobExecutionException: Job execution failed. 2021-04-23T14:32:27.0411931Z at org.apache.flink.runtime.jobmaster.JobResult.toJobExecutionResult(JobResult.java:144) 2021-04-23T14:32:27.0412631Z at org.apache.flink.runtime.minicluster.MiniClusterJobClient.lambda$getJobExecutionResult$3(MiniClusterJobClient.java:137) 2021-04-23T14:32:27.0413144Z at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:616) 2021-04-23T14:32:27.0413605Z at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:591) 2021-04-23T14:32:27.0414063Z at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:488) 2021-04-23T14:32:27.0414497Z at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1975) 2021-04-23T14:32:27.0415002Z at org.apache.flink.runtime.rpc.akka.AkkaInvocationHandler.lambda$invokeRpc$0(AkkaInvocationHandler.java:237) 2021-04-23T14:32:27.0415526Z at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:774) 2021-04-23T14:32:27.0416026Z at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:750) 2021-04-23T14:32:27.0416498Z at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:488) 2021-04-23T14:32:27.0417403Z at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1975) 2021-04-23T14:32:27.0417945Z at org.apache.flink.runtime.concurrent.FutureUtils$1.onComplete(FutureUtils.java:1081) 2021-04-23T14:32:27.0418481Z at akka.dispatch.OnComplete.internal(Future.scala:264) 2021-04-23T14:32:27.0418820Z at akka.dispatch.OnComplete.internal(Future.scala:261) 2021-04-23T14:32:27.0419188Z at akka.dispatch.japi$CallbackBridge.apply(Future.scala:191) 2021-04-23T14:32:27.0419574Z at akka.dispatch.japi$CallbackBridge.apply(Future.scala:188) 2021-04-23T14:32:27.0419956Z at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:36) 2021-04-23T14:32:27.0420414Z at org.apache.flink.runtime.concurrent.Executors$DirectExecutionContext.execute(Executors.java:73) 2021-04-23T14:32:27.0420876Z at scala.concurrent.impl.CallbackRunnable.executeWithValue(Promise.scala:44) 2021-04-23T14:32:27.0421312Z at scala.concurrent.impl.Promise$DefaultPromise.tryComplete(Promise.scala:252) 2021-04-23T14:32:27.0421724Z at akka.pattern.PromiseActorRef.$bang(AskSupport.scala:572) 2021-04-23T14:32:27.0422151Z at akka.pattern.PipeToSupport$PipeableFuture$$anonfun$pipeTo$1.applyOrElse(PipeToSupport.scala:22) 2021-04-23T14:32:27.0422746Z at akka.pattern.PipeToSupport$PipeableFuture$$anonfun$pipeTo$1.applyOrElse(PipeToSupport.scala:21) 2021-04-23T14:32:27.0423193Z at scala.concurrent.Future$$anonfun$andThen$1.apply(Future.scala:436) 2021-04-23T14:32:27.0423603Z at scala.concurrent.Future$$anonfun$andThen$1.apply(Future.scala:435) 2021-04-23T14:32:27.0423999Z at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:36) 2021-04-23T14:32:27.0424421Z at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:55) 2021-04-23T14:32:27.0424934Z at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply$mcV$sp(BatchingExecutor.scala:91) 2021-04-23T14:32:27.0425439Z at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91) 2021-04-23T14:32:27.0426000Z at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91) 2021-04-23T14:32:27.0426467Z at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:72) 2021-04-23T14:32:27.0426891Z at akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:90) 2021-04-23T14:32:27.0427310Z at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:40) 2021-04-23T14:32:27.0427777Z at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(ForkJoinExecutorConfigurator.scala:44) 2021-04-23T14:32:27.0428306Z at akka.dispatch.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) 2021-04-23T14:32:27.0428742Z at akka.dispatch.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) 2021-04-23T14:32:27.0429157Z at akka.dispatch.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) 2021-04-23T14:32:27.0429592Z at akka.dispatch.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) 2021-04-23T14:32:27.0430149Z Caused by: org.apache.flink.runtime.JobException: Recovery is suppressed by FixedDelayRestartBackoffTimeStrategy(maxNumberRestartAttempts=1, backoffTimeMS=0) 2021-04-23T14:32:27.0430783Z at org.apache.flink.runtime.executiongraph.failover.flip1.ExecutionFailureHandler.handleFailure(ExecutionFailureHandler.java:138) 2021-04-23T14:32:27.0431446Z at org.apache.flink.runtime.executiongraph.failover.flip1.ExecutionFailureHandler.getFailureHandlingResult(ExecutionFailureHandler.java:82) 2021-04-23T14:32:27.0432046Z at org.apache.flink.runtime.scheduler.DefaultScheduler.handleTaskFailure(DefaultScheduler.java:207) 2021-04-23T14:32:27.0432657Z at org.apache.flink.runtime.scheduler.DefaultScheduler.maybeHandleTaskFailure(DefaultScheduler.java:197) 2021-04-23T14:32:27.0433222Z at org.apache.flink.runtime.scheduler.DefaultScheduler.updateTaskExecutionStateInternal(DefaultScheduler.java:188) 2021-04-23T14:32:27.0433801Z at org.apache.flink.runtime.scheduler.SchedulerBase.updateTaskExecutionState(SchedulerBase.java:677) 2021-04-23T14:32:27.0434504Z at org.apache.flink.runtime.scheduler.UpdateSchedulerNgOnInternalFailuresListener.notifyTaskFailure(UpdateSchedulerNgOnInternalFailuresListener.java:51) 2021-04-23T14:32:27.0435275Z at org.apache.flink.runtime.executiongraph.DefaultExecutionGraph.notifySchedulerNgAboutInternalTaskFailure(DefaultExecutionGraph.java:1462) 2021-04-23T14:32:27.0435904Z at org.apache.flink.runtime.executiongraph.Execution.processFail(Execution.java:1139) 2021-04-23T14:32:27.0436357Z at org.apache.flink.runtime.executiongraph.Execution.processFail(Execution.java:1079) 2021-04-23T14:32:27.0436809Z at org.apache.flink.runtime.executiongraph.Execution.fail(Execution.java:783) 2021-04-23T14:32:27.0437345Z at org.apache.flink.runtime.operators.coordination.ExecutionSubtaskAccess.triggerTaskFailover(ExecutionSubtaskAccess.java:101) 2021-04-23T14:32:27.0437987Z at org.apache.flink.runtime.operators.coordination.SubtaskGatewayImpl.lambda$sendEvent$0(SubtaskGatewayImpl.java:81) 2021-04-23T14:32:27.0438504Z at java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:836) 2021-04-23T14:32:27.0438959Z at java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:811) 2021-04-23T14:32:27.0439412Z at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:456) 2021-04-23T14:32:27.0439878Z at org.apache.flink.runtime.rpc.akka.AkkaRpcActor.handleRunAsync(AkkaRpcActor.java:440) 2021-04-23T14:32:27.0440348Z at org.apache.flink.runtime.rpc.akka.AkkaRpcActor.handleRpcMessage(AkkaRpcActor.java:208) 2021-04-23T14:32:27.0440855Z at org.apache.flink.runtime.rpc.akka.FencedAkkaRpcActor.handleRpcMessage(FencedAkkaRpcActor.java:77) 2021-04-23T14:32:27.0441360Z at org.apache.flink.runtime.rpc.akka.AkkaRpcActor.handleMessage(AkkaRpcActor.java:158) 2021-04-23T14:32:27.0441779Z at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:26) 2021-04-23T14:32:27.0442162Z at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:21) 2021-04-23T14:32:27.0442659Z at scala.PartialFunction$class.applyOrElse(PartialFunction.scala:123) 2021-04-23T14:32:27.0443071Z at akka.japi.pf.UnitCaseStatement.applyOrElse(CaseStatements.scala:21) 2021-04-23T14:32:27.0443485Z at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:170) 2021-04-23T14:32:27.0443881Z at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:171) 2021-04-23T14:32:27.0444288Z at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:171) 2021-04-23T14:32:27.0444670Z at akka.actor.Actor$class.aroundReceive(Actor.scala:517) 2021-04-23T14:32:27.0445042Z at akka.actor.AbstractActor.aroundReceive(AbstractActor.scala:225) 2021-04-23T14:32:27.0445431Z at akka.actor.ActorCell.receiveMessage(ActorCell.scala:592) 2021-04-23T14:32:27.0445825Z at akka.actor.ActorCell.invoke(ActorCell.scala:561) 2021-04-23T14:32:27.0446186Z at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:258) 2021-04-23T14:32:27.0446536Z at akka.dispatch.Mailbox.run(Mailbox.scala:225) 2021-04-23T14:32:27.0446853Z at akka.dispatch.Mailbox.exec(Mailbox.scala:235) 2021-04-23T14:32:27.0447127Z ... 4 more 2021-04-23T14:32:27.0448642Z Caused by: org.apache.flink.util.FlinkException: An OperatorEvent from an OperatorCoordinator to a task was lost. Triggering task failover to ensure consistency. Event: '[NoMoreSplitEvent]', targetTask: Source: KafkaSource -> Map -> Map (4/5) - execution #1 {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) |
Free forum by Nabble | Edit this page |