Skip to content

[Backport] Fix race condition in KubernetesTaskRunner between shutdown and getKnownTasks#14057

Merged
clintropolis merged 2 commits intoapache:26.0.0from
clintropolis:backport-14030-to-26.0.0
Apr 13, 2023
Merged

[Backport] Fix race condition in KubernetesTaskRunner between shutdown and getKnownTasks#14057
clintropolis merged 2 commits intoapache:26.0.0from
clintropolis:backport-14030-to-26.0.0

Conversation

@clintropolis
Copy link
Copy Markdown
Member

Backport of #14030 to 26.0.0.

…ownTasks (apache#14030)

* Fix issues with null pointers on jobResponse

* fix unit tests

* Update extensions-contrib/kubernetes-overlord-extensions/src/main/java/org/apache/druid/k8s/overlord/common/DruidKubernetesPeonClient.java

Co-authored-by: Abhishek Agarwal <1477457+abhishekagarwal87@users.noreply.github.com>

* nullable

* fix error message

* Use jobs for known tasks instead of pods

* Remove log lines

* remove log lines

* PR change requests

* revert wait change

---------

Co-authored-by: Abhishek Agarwal <1477457+abhishekagarwal87@users.noreply.github.com>
@clintropolis clintropolis added this to the 26.0 milestone Apr 10, 2023
@clintropolis clintropolis merged commit 0753a23 into apache:26.0.0 Apr 13, 2023
@clintropolis clintropolis deleted the backport-14030-to-26.0.0 branch April 13, 2023 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant