spark-instrumented-optimizer/resource-managers/kubernetes
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
..
core [SPARK-24266][K8S] Restart the watcher when we receive a version changed from k8s 2020-07-21 16:34:30 -07:00
docker/src/main/dockerfiles/spark [SPARK-31994][K8S] Docker image should use https urls for only deb.debian.org mirrors 2020-06-15 11:26:03 -07:00
integration-tests [SPARK-32367][K8S][TESTS] Correct the spelling of parameter in KubernetesTestComponents 2020-07-20 13:48:57 -07:00