Github user vanzin commented on the pull request:
https://github.com/apache/spark/pull/3484#issuecomment-64703510
Actually the current code will fail the app (not succeed) regardless of
what System.exit() says, because of the check on L108... so this actually does
what Sandy suggests. If we want to not retry successful apps that exit with
System.exit(), we'll need to change more code.
So currently this does not work for this case in Tom's list:
cluster UserClass:
system.exit(0) - success
The app will be re-run and eventually fail after the retries.
---
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]