Skip to content

Commit

Permalink
[K8S] Delete executor pods from kubernetes after figuring out why the…
Browse files Browse the repository at this point in the history
…y died
  • Loading branch information
mikekap authored Oct 15, 2018
1 parent 9426fd0 commit 71727a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ private[spark] class ExecutorPodsLifecycleManager(
execId: Long,
schedulerBackend: KubernetesClusterSchedulerBackend,
execIdsRemovedInRound: mutable.Set[Long]): Unit = {
removeExecutorFromK8s(podState.pod)
removeExecutorFromSpark(schedulerBackend, podState, execId)
removeExecutorFromK8s(podState.pod)
execIdsRemovedInRound += execId
}

Expand Down

0 comments on commit 71727a8

Please sign in to comment.