mesos/spark — pull request #329 by woggling (2012-12-14 00:27:02+00:00)
Title: Executor status codes

[Note: This incorporates pull request #326.]

Currently, Mesos and the Spark deploy mode provide executor exit statuses, which could diagnose some executor crashes. This patch assigns exit codes for deliberate executor exits (e.g. when an executor can't create a temporary directory; or an OutOfMemoryError in a non-task thread) and logs them from the master at the error level when executor death with an exit status is detected.