You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 9, 2020. It is now read-only.
Clean up resources that are not used by pods. (#305)
* Clean up resources that are not used by pods.
* Make client side send correct credentials.
* Simplify cleanup logic.
Cancellation is no longer instantaneous and we might clean up a little
later than the given TTL. However, the tradeoff is a simpler
implementation with clearer contracts about when things will and will
not be cleaned up.
* Remove class
* Fix imports and line length.
* Remove import.
* Add a unit test for StagingResourcesStore.
* Revamp cleanup process.
- Delete resources immediately when owners do not exist
- Delete resources if after they are first uploaded, they are not
accessed for a certain period of time.
- Resource owners are more specifically defined and can have a type
(currently only uses pods)
* Clarify log messages
* Use a single set of credentials in resource staging server.
Also refactors construction of Kubernetes Clients to unify the code
paths.
* Fix unit test.
* Safe close if creating shuffle block handler fails
* Use implicit class.
* Address comments.
* Fix broken test.
Copy file name to clipboardExpand all lines: resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/kubernetes/KubernetesExternalShuffleService.scala
0 commit comments