Github user andrewor14 commented on the pull request:
https://github.com/apache/spark/pull/3508#issuecomment-65295994
Yeah I think what we want from this patch is the following behavior:
```
System.exit(X) = success
Uncaught exception = fail
sc.stop = success
```
I believe this is possible to do without the security manager. In the long
run, the ideal behavior we want is:
```
System.exit(0) = success
System.exit(X) = fail, where X != 0
Uncaught exception = fail
sc.stop = success
```
But there is no easy way to do this without the security manager.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]