Balazs Varga
01/02/2024, 2:12 PM.collect(), and its result is used in another job from the same main method.
In the original yarn-based environment, attached execution was used.
When trying to use the default, detached mode, I got the error saying that eager executions (such as collect, count, ..) are not allowed in detached mode.
When using execution.attached: true, I got this error:
Caused by: org.apache.flink.util.FlinkRuntimeException: Cannot have more than one execute() or executeAsync() call in a single environment.
According to the docs, I think this should be possible: https://nightlies.apache.org/flink/flink-docs-master/docs/deployment/overview/#application-mode
Can someone point me in the right direction?Balazs Varga
01/02/2024, 2:15 PMBalazs Varga
01/02/2024, 2:53 PMBalazs Varga
01/02/2024, 3:07 PMenforceSingleJobExecution = true, causing the above error.