Skip to content

Commit 0accf2f

Browse files
committed
set process to null after killed it
1 parent 1d511c8 commit 0accf2f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/main/scala/org/apache/spark/deploy/worker/ExecutorRunner.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ private[spark] class ExecutorRunner(
7272
logInfo("Killing process!")
7373
process.destroy()
7474
process.waitFor()
75+
process = null
7576
}
7677
}
7778

0 commit comments

Comments
 (0)