[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
This commit is contained in:
parent
8081ce8bd1
commit
42d5077fd3
|
@ -154,7 +154,8 @@ private[spark] object SparkSubmitDriverBootstrapper {
|
|||
process.destroy()
|
||||
}
|
||||
}
|
||||
process.waitFor()
|
||||
val returnCode = process.waitFor()
|
||||
sys.exit(returnCode)
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue