GitHub user dragos opened a pull request:

    https://github.com/apache/spark/pull/10921

    [SPARK-12265][Mesos] Spark calls System.exit inside driver instead of 
throwing exception

    This takes over #10729 and makes sure that `spark-shell` fails with a 
proper error message. There is a slight behavioral change: before this change 
`spark-shell` would exit, while now the REPL is still there, but `sc` and 
`sqlContext` are not defined and the error is visible to the user.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/dragos/spark pr/10729

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/10921.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #10921
    
----
commit 8ad399c215edbf78f0d3b8d4ffe9aa6eb82b94f8
Author: Nilanjan Raychaudhuri <[email protected]>
Date:   2016-01-12T23:24:25Z

    [SPARK-12265][Mesos] Remove System.exit

commit 5c719309fc24219b9e1951a8296a54ec7b581c29
Author: Nilanjan Raychaudhuri <[email protected]>
Date:   2016-01-13T21:19:01Z

    Closing the latch before throwing error

commit 997721ce11985db0f0f0c70b291e4589468cf3ae
Author: Nilanjan Raychaudhuri <[email protected]>
Date:   2016-01-14T19:29:11Z

    using try-catch

commit 9b19daa0b82336ab40eb7e9b83fab27e89082949
Author: Iulian Dragos <[email protected]>
Date:   2016-01-26T09:50:28Z

    Propagate an exception in case of failure.

----


---
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]

Reply via email to