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
Copy file name to clipboardExpand all lines: resource-managers/kubernetes/core/src/main/scala/org/apache/spark/scheduler/cluster/kubernetes/KubernetesClusterSchedulerBackend.scala
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -131,6 +131,10 @@ private[spark] class KubernetesClusterSchedulerBackend(
131
131
}
132
132
133
133
overridedefstop():Unit= {
134
+
// send stop message to executors so they shut down cleanly
135
+
super.stop()
136
+
137
+
// then delete the executor pods
134
138
// TODO investigate why Utils.tryLogNonFatalError() doesn't work in this context.
135
139
// When using Utils.tryLogNonFatalError some of the code fails but without any logs or
136
140
// indication as to why.
@@ -149,7 +153,6 @@ private[spark] class KubernetesClusterSchedulerBackend(
0 commit comments