aboutsummaryrefslogtreecommitdiff
path: root/ec2
diff options
context:
space:
mode:
authorMarcelo Vanzin <vanzin@cloudera.com>2014-11-28 15:15:30 -0500
committerPatrick Wendell <pwendell@gmail.com>2014-11-28 15:16:05 -0500
commit915f8eeb3a493a0bb4b8d05d795ddd21f373d2ff (patch)
tree0b12ab2fec2ba2a558e617d189dada9a4865334c /ec2
parente464f0ac2d7210a4bf715478885fe7a8d397fe89 (diff)
downloadspark-915f8eeb3a493a0bb4b8d05d795ddd21f373d2ff.tar.gz
spark-915f8eeb3a493a0bb4b8d05d795ddd21f373d2ff.tar.bz2
spark-915f8eeb3a493a0bb4b8d05d795ddd21f373d2ff.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.
Diffstat (limited to 'ec2')
0 files changed, 0 insertions, 0 deletions