Getting stuck with Airflow Flink K8s job submission failure. #43639
Unanswered
ankurbansal-tradedoubler
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am getting error when I am trying to pass flinkdeployment configuration as a seperate yaml file path. but everything works file if I pass the yaml config as a string to FlinkKubernetesOperator's application_file parameter.
Flink version - 1.19.1
Airflow version - 2.9.3
K8s version - 1.29.1
Below is the error snippet.
Update : I was suspecting that it might be a case of not being able to read the file content so I tried passing the application file as string input after reading it as yaml file from the same file path. Everything works fine here as well.
DO you know if there is any limitations with FlinkKubernetesOperator that application_file parameters can not parse a file?
As per the documentation it should be able to read the file as well.
https://airflow.apache.org/docs/apache-airflow-providers-apache-flink/stable/_api/airflow/providers/apache/flink/operators/flink_kubernetes/index.html#airflow.providers.apache.flink.operators.flink_kubernetes.FlinkKubernetesOperator
application_file (str) – Defines Kubernetes ‘custom_resource_definition’ of ‘flinkDeployment’ as either a path to a ‘.yaml’ file, ‘.json’ file, YAML string or JSON string.
Any help or guidance is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions