Skip to content
Snippets Groups Projects
Commit 42d5077f authored by Eric Eijkelenboom's avatar Eric Eijkelenboom Committed by Andrew Or
Browse files

[DEPLOY] SPARK-3759: Return the exit code of the driver process

SparkSubmitDriverBootstrapper.scala now returns the exit code of the driver process, instead of always returning 0.

Author: Eric Eijkelenboom <ee@userreport.com>

Closes #2628 from ericeijkelenboom/master and squashes the following commits:

cc4a571 [Eric Eijkelenboom] Return the exit code of the driver process
parent 8081ce8b
No related branches found
No related tags found
No related merge requests found
......@@ -154,7 +154,8 @@ private[spark] object SparkSubmitDriverBootstrapper {
process.destroy()
}
}
process.waitFor()
val returnCode = process.waitFor()
sys.exit(returnCode)
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment