Skip to content

Conversation

@ash211
Copy link

@ash211 ash211 commented Mar 8, 2017

Bring in latest 4 commits from apache-spark-on-k8s

Most interested in the propagate exceptions PR

foxish and others added 4 commits March 7, 2017 18:23
* Adding prerequisites

* address comments

(cherry picked from commit 6556451)
(cherry picked from commit f27885a)
* Logging for resource deletion

Remove dangling colon and replace with an ellipses and a second log statement

* Update KubernetesResourceCleaner.scala

(cherry picked from commit c118f47)
@ash211 ash211 merged commit 5dff733 into master Mar 8, 2017
dansanduleac pushed a commit that referenced this pull request Mar 9, 2017
…122)

* Refactor the cleaning up of Kubernetes components.

Create a KubernetesComponentsCleaner which can register arbitrary pods,
services, secrets, and ingresses. When an exception is thrown or the JVM
shuts down, the cleaner automatically purges any of its registered
components from Kubernetes. The components can be unregistered when the
driver successfully begins running, so that the application persists
beyond the lifetime of the spark-submit process.

* Fix spacing

* Address comments

* Fix compiler error

* Pull KubernetesComponentCleaner into instance variable

* Remove a parameter

* Remove redundant registerOrUpdateSecret for SSL

* Remove Ingresses from component cleaner

* Clear resources generically as opposed to specifying each type

* Remove incorrect test assertion

* Rename variable

(cherry picked from commit 452f8f1)
@robert3005 robert3005 deleted the branch-2.2.0-palantir4-k8s-release branch March 14, 2017 15:35
mccheah added a commit that referenced this pull request Apr 27, 2017
…122)

* Refactor the cleaning up of Kubernetes components.

Create a KubernetesComponentsCleaner which can register arbitrary pods,
services, secrets, and ingresses. When an exception is thrown or the JVM
shuts down, the cleaner automatically purges any of its registered
components from Kubernetes. The components can be unregistered when the
driver successfully begins running, so that the application persists
beyond the lifetime of the spark-submit process.

* Fix spacing

* Address comments

* Fix compiler error

* Pull KubernetesComponentCleaner into instance variable

* Remove a parameter

* Remove redundant registerOrUpdateSecret for SSL

* Remove Ingresses from component cleaner

* Clear resources generically as opposed to specifying each type

* Remove incorrect test assertion

* Rename variable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants