Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix spark_job_not_running func to correctly check not running state #40496

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

akrava
Copy link
Contributor

@akrava akrava commented Jun 29, 2024

closes: #40495

In the spark_job_not_running function we should check that current state of the Spark Application doesn't equal running state (RUNNING). Because except of submitted state (SUBMITTED) there could be other states, e.g. pending (in custom spark operators there might be additional states).


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@akrava akrava force-pushed the fix/cncf-k8s-spark-job-not-running-function branch from 6855aae to ee4e136 Compare June 30, 2024 17:50
@akrava akrava force-pushed the fix/cncf-k8s-spark-job-not-running-function branch from ee4e136 to 004fe95 Compare June 30, 2024 18:38
@akrava akrava requested a review from eladkal June 30, 2024 19:11
@eladkal eladkal requested a review from romsharon98 July 5, 2024 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:providers provider:cncf-kubernetes Kubernetes provider related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SparkKubernetesOperator fails to fetch the driver pod when SparkApplication is still in pending state
2 participants