diff options
author | Marcelo Vanzin <vanzin@cloudera.com> | 2014-11-28 15:15:30 -0500 |
---|---|---|
committer | Patrick Wendell <pwendell@gmail.com> | 2014-11-28 15:16:33 -0500 |
commit | 8cec4312e990beb648969a40688f3cba5e3473db (patch) | |
tree | 5f7c99b8c6311c5c32ef3bad7c9c14c41a5d72a8 /sbt | |
parent | 32198347ffb71f72f37e4bded262da80452a5aea (diff) | |
download | spark-8cec4312e990beb648969a40688f3cba5e3473db.tar.gz spark-8cec4312e990beb648969a40688f3cba5e3473db.tar.bz2 spark-8cec4312e990beb648969a40688f3cba5e3473db.zip |
[SPARK-4584] [yarn] Remove security manager from Yarn AM.
The security manager adds a lot of overhead to the runtime of the
app, and causes a severe performance regression. Even stubbing out
all unneeded methods (all except checkExit()) does not help.
So, instead, penalize users who do an explicit System.exit() by leaving
them in "undefined behavior" territory: if they do that, the Yarn
backend won't be able to report the final app status to the RM.
The result is that the final status of the application might not match
the user's expectations.
One side-effect of the change is that users who do an explicit
System.exit() will lose the AM retry functionality. Since there is
no way to know if the exit was because of success or failure, the
AM right now errs on the side of it being a successful exit.
Author: Marcelo Vanzin <vanzin@cloudera.com>
Closes #3484 from vanzin/SPARK-4584 and squashes the following commits:
21f2502 [Marcelo Vanzin] Do not retry apps that use System.exit().
4198b3b [Marcelo Vanzin] [SPARK-4584] [yarn] Remove security manager from Yarn AM.
(cherry picked from commit 915f8eeb3a493a0bb4b8d05d795ddd21f373d2ff)
Signed-off-by: Patrick Wendell <pwendell@gmail.com>
Diffstat (limited to 'sbt')
0 files changed, 0 insertions, 0 deletions