Matyas Orhidi created FLINK-27892: ------------------------------------- Summary: More than 1 secondary resource related to primary Key: FLINK-27892 URL: https://issues.apache.org/jira/browse/FLINK-27892 Project: Flink Issue Type: Bug Reporter: Matyas Orhidi
When submitting the `the basic-session-job.yaml' in multiple namespaces: {{flink-kubernetes-operator java.lang.IllegalStateException: More than 1 secondary resource related to primary flink-kubernetes-operator at io.javaoperatorsdk.operator.processing.event.source.ResourceEventSource.getSecondaryResource(ResourceEventSource.java:19) flink-kubernetes-operator at io.javaoperatorsdk.operator.api.reconciler.DefaultContext.getSecondaryResource(DefaultContext.java:47) flink-kubernetes-operator at io.javaoperatorsdk.operator.api.reconciler.Context.getSecondaryResource(Context.java:15) flink-kubernetes-operator at org.apache.flink.kubernetes.operator.controller.FlinkSessionJobController.validateSessionJob(FlinkSessionJobController.java:135) flink-kubernetes-operator at org.apache.flink.kubernetes.operator.controller.FlinkSessionJobController.reconcile(FlinkSessionJobController.java:91) flink-kubernetes-operator at org.apache.flink.kubernetes.operator.controller.FlinkSessionJobController.reconcile(FlinkSessionJobController.java:51) flink-kubernetes-operator at io.javaoperatorsdk.operator.processing.Controller$2.execute(Controller.java:201) flink-kubernetes-operator at io.javaoperatorsdk.operator.processing.Controller$2.execute(Controller.java:153) flink-kubernetes-operator at io.javaoperatorsdk.operator.api.monitoring.Metrics.timeControllerExecution(Metrics.java:34) flink-kubernetes-operator at io.javaoperatorsdk.operator.processing.Controller.reconcile(Controller.java:152) flink-kubernetes-operator at io.javaoperatorsdk.operator.processing.event.ReconciliationDispatcher.reconcileExecution(ReconciliationDispatcher.java:135) flink-kubernetes-operator at io.javaoperatorsdk.operator.processing.event.ReconciliationDispatcher.handleReconcile(ReconciliationDispatcher.java:115) flink-kubernetes-operator at io.javaoperatorsdk.operator.processing.event.ReconciliationDispatcher.handleDispatch(ReconciliationDispatcher.java:86) flink-kubernetes-operator at io.javaoperatorsdk.operator.processing.event.ReconciliationDispatcher.handleExecution(ReconciliationDispatcher.java:59) flink-kubernetes-operator at io.javaoperatorsdk.operator.processing.event.EventProcessor$ControllerExecution.run(EventProcessor.java:390) flink-kubernetes-operator at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) flink-kubernetes-operator at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) flink-kubernetes-operator at java.base/java.lang.Thread.run(Unknown Source)}} -- This message was sent by Atlassian Jira (v8.20.7#820007)