You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Matthias Pohl (Jira)" <ji...@apache.org> on 2022/10/11 08:57:00 UTC
[jira] [Comment Edited] (FLINK-29576) SourceNAryInputChainingITCase.testDirectSourcesOnlyExecution failed
[ https://issues.apache.org/jira/browse/FLINK-29576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17615614#comment-17615614 ]
Matthias Pohl edited comment on FLINK-29576 at 10/11/22 8:56 AM:
-----------------------------------------------------------------
Adding additional log output reveals that the Operator ID in question, indeed, is not registered with the {{DefaultOperatorCoordinatorHandler}}:
{code}
38013 [jobmanager-io-thread-1] DEBUG org.apache.flink.runtime.scheduler.DefaultOperatorCoordinatorHandler [] - OperatorIds for ExecutionJobVertex[initialized=true] MultipleInputOperator [Source: source-1, Source: source-2, Source: source-3]: [bc764cd8ddf7a0cff126f51c16239658, 605b35e407e90cda15ad084365733fdd]
38013 [jobmanager-io-thread-1] DEBUG org.apache.flink.runtime.scheduler.DefaultOperatorCoordinatorHandler [] - OperatorIds for ExecutionJobVertex[initialized=true] Sink: Data stream collect sink [Source: source-1, Source: source-2, Source: source-3]: [ad41044d493a326176171462a740339f]
38013 [jobmanager-io-thread-1] DEBUG org.apache.flink.runtime.scheduler.DefaultOperatorCoordinatorHandler [] - Registered Operators: [bc764cd8ddf7a0cff126f51c16239658, 605b35e407e90cda15ad084365733fdd, ad41044d493a326176171462a740339f]
{code}
...but the run fails with not finding the {{OperatorHandler}} for a completely different ID {{feca28aff5a3958840bee985ee7de4d3}}:
{code}
38096 [flink-akka.actor.default-dispatcher-10] WARN org.apache.flink.runtime.taskmanager.Task [] - MultipleInputOperator [Source: source-1, Source: source-2, Source: source-3] (2/4)#0 (dfa76d436eae78327927f1d9bf6db514_1dd2eb40b0971d6d849b9e4a69494c88_1_0) switched from RUNNING to FAILED with failure cause: org.apache.flink.util.FlinkException: No coordinator registered for operator feca28aff5a3958840bee985ee7de4d3
at org.apache.flink.runtime.scheduler.DefaultOperatorCoordinatorHandler.deliverOperatorEventToCoordinator(DefaultOperatorCoordinatorHandler.java:134)
at org.apache.flink.runtime.scheduler.SchedulerBase.deliverOperatorEventToCoordinator(SchedulerBase.java:1031)
at org.apache.flink.runtime.jobmaster.JobMaster.sendOperatorEventToCoordinator(JobMaster.java:588)
[...]
{code}
was (Author: mapohl):
Adding additional log output reveals that the Operator ID in question, indeed, is not registered with the {{DefaultOperatorCoordinatorHandler}}:
{code}
38013 [jobmanager-io-thread-1] DEBUG org.apache.flink.runtime.scheduler.DefaultOperatorCoordinatorHandler [] - OperatorIds for ExecutionJobVertex[initialized=true] MultipleInputOperator [Source: source-1, Source: source-2, Source: source-3]: [bc764cd8ddf7a0cff126f51c16239658, 605b35e407e90cda15ad084365733fdd]
38013 [jobmanager-io-thread-1] DEBUG org.apache.flink.runtime.scheduler.DefaultOperatorCoordinatorHandler [] - OperatorIds for ExecutionJobVertex[initialized=true] Sink: Data stream collect sink [Source: source-1, Source: source-2, Source: source-3]: [ad41044d493a326176171462a740339f]
38013 [jobmanager-io-thread-1] DEBUG org.apache.flink.runtime.scheduler.DefaultOperatorCoordinatorHandler [] - Registered Operators: [bc764cd8ddf7a0cff126f51c16239658, 605b35e407e90cda15ad084365733fdd, ad41044d493a326176171462a740339f]
{code}
...that fails with not finding the {{OperatorHandler}} for a completely different ID {{feca28aff5a3958840bee985ee7de4d3}}:
{code}
38096 [flink-akka.actor.default-dispatcher-10] WARN org.apache.flink.runtime.taskmanager.Task [] - MultipleInputOperator [Source: source-1, Source: source-2, Source: source-3] (2/4)#0 (dfa76d436eae78327927f1d9bf6db514_1dd2eb40b0971d6d849b9e4a69494c88_1_0) switched from RUNNING to FAILED with failure cause: org.apache.flink.util.FlinkException: No coordinator registered for operator feca28aff5a3958840bee985ee7de4d3
at org.apache.flink.runtime.scheduler.DefaultOperatorCoordinatorHandler.deliverOperatorEventToCoordinator(DefaultOperatorCoordinatorHandler.java:134)
at org.apache.flink.runtime.scheduler.SchedulerBase.deliverOperatorEventToCoordinator(SchedulerBase.java:1031)
at org.apache.flink.runtime.jobmaster.JobMaster.sendOperatorEventToCoordinator(JobMaster.java:588)
[...]
{code}
> SourceNAryInputChainingITCase.testDirectSourcesOnlyExecution failed
> -------------------------------------------------------------------
>
> Key: FLINK-29576
> URL: https://issues.apache.org/jira/browse/FLINK-29576
> Project: Flink
> Issue Type: Bug
> Components: API / DataStream, Runtime / Coordination
> Affects Versions: 1.16.0, 1.17.0
> Reporter: Matthias Pohl
> Priority: Critical
> Labels: test-stability
> Attachments: SourceNAryInputChainingITCase.testDirectSourcesOnlyExecution.log
>
>
> There's a [build failure|https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=41843&view=logs&j=5c8e7682-d68f-54d1-16a2-a09310218a49&t=86f654fa-ab48-5c1a-25f4-7e7f6afb9bba&l=8523] being caused by {{SourceNAryInputChainingITCase.testDirectSourcesOnlyExecution}} on {{master}}:
> {code}
> Oct 11 01:45:36 [ERROR] Errors:
> Oct 11 01:45:36 [ERROR] SourceNAryInputChainingITCase.testDirectSourcesOnlyExecution:89 ยป Runtime Fail...
> Oct 11 01:45:36 [INFO]
> Oct 11 01:45:36 [ERROR] Tests run: 1931, Failures: 0, Errors: 1, Skipped: 4
> {code}
> The actual cause might be a missing {{OperatorCoordinatorHolder}} in {{DefaultOperatorCoordinatorHandler}} (see attached Maven logs that were extracted from the linked build):
> {code}
> 01:44:28,248 [flink-akka.actor.default-dispatcher-5] WARN org.apache.flink.runtime.taskmanager.Task [] - MultipleInputOperator [Source: source-1, Source: source-2, Source: source-3] (1/4)#0 (9babb402557eb959216c28116aabddbe_1dd2eb40b0971d6d849b9e4a69494c88_0_0) switched from RUNNING to FAILED with failure cause: org.apache.flink.util.FlinkException: No coordinator registered for operator bc764cd8ddf7a0cff126f51c16239658
> at org.apache.flink.runtime.scheduler.DefaultOperatorCoordinatorHandler.deliverOperatorEventToCoordinator(DefaultOperatorCoordinatorHandler.java:117)
> at org.apache.flink.runtime.scheduler.SchedulerBase.deliverOperatorEventToCoordinator(SchedulerBase.java:1031)
> at org.apache.flink.runtime.jobmaster.JobMaster.sendOperatorEventToCoordinator(JobMaster.java:588)
> at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.apache.flink.runtime.rpc.akka.AkkaRpcActor.lambda$handleRpcInvocation$1(AkkaRpcActor.java:309)
> at org.apache.flink.runtime.concurrent.akka.ClassLoadingUtils.runWithContextClassLoader(ClassLoadingUtils.java:83)
> at org.apache.flink.runtime.rpc.akka.AkkaRpcActor.handleRpcInvocation(AkkaRpcActor.java:307)
> at org.apache.flink.runtime.rpc.akka.AkkaRpcActor.handleRpcMessage(AkkaRpcActor.java:222)
> at org.apache.flink.runtime.rpc.akka.FencedAkkaRpcActor.handleRpcMessage(FencedAkkaRpcActor.java:84)
> at org.apache.flink.runtime.rpc.akka.AkkaRpcActor.handleMessage(AkkaRpcActor.java:168)
> at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:24)
> at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:20)
> at scala.PartialFunction.applyOrElse(PartialFunction.scala:123)
> at scala.PartialFunction.applyOrElse$(PartialFunction.scala:122)
> at akka.japi.pf.UnitCaseStatement.applyOrElse(CaseStatements.scala:20)
> at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:171)
> at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:172)
> at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:172)
> at akka.actor.Actor.aroundReceive(Actor.scala:537)
> at akka.actor.Actor.aroundReceive$(Actor.scala:535)
> at akka.actor.AbstractActor.aroundReceive(AbstractActor.scala:220)
> at akka.actor.ActorCell.receiveMessage(ActorCell.scala:580)
> at akka.actor.ActorCell.invoke(ActorCell.scala:548)
> at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:270)
> at akka.dispatch.Mailbox.run(Mailbox.scala:231)
> at akka.dispatch.Mailbox.exec(Mailbox.scala:243)
> at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
> at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
> at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
> at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)