spark-instrumented-optimizer/resource-managers
Stijn De Haes 0432379f99 [SPARK-24266][K8S] Restart the watcher when we receive a version changed from k8s
### What changes were proposed in this pull request?

Restart the watcher when it failed with a HTTP_GONE code from the kubernetes api. Which means a resource version has changed.

For more relevant information see here: https://github.com/fabric8io/kubernetes-client/issues/1075

### Why are the changes needed?

### Does this PR introduce _any_ user-facing change?

No

### How was this patch tested?

Running spark-submit to a k8s cluster.

Not sure how to make an automated test for this. If someone can help me out that would be great.

Closes #28423 from stijndehaes/bugfix/k8s-submit-resource-version-change.

Authored-by: Stijn De Haes <stijndehaes@gmail.com>
Signed-off-by: Holden Karau <hkarau@apple.com>
2020-07-21 16:34:30 -07:00
..
kubernetes [SPARK-24266][K8S] Restart the watcher when we receive a version changed from k8s 2020-07-21 16:34:30 -07:00
mesos [SPARK-29292][YARN][K8S][MESOS] Fix Scala 2.13 compilation for remaining modules 2020-07-18 15:08:00 -07:00
yarn [SPARK-29292][YARN][K8S][MESOS] Fix Scala 2.13 compilation for remaining modules 2020-07-18 15:08:00 -07:00