GitHub user jojochuang opened a pull request:

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

    [SPARK-18867] [SQL] Throw cause if IsolatedClientLoad can't create cl…

    ## What changes were proposed in this pull request?
    If IsolatedClientLoader can't instantiate a class object, it throws 
InvocationTargetException. But the caller doesn't need to know this exception. 
Instead, it should throw the exception that causes the 
InvocationTargetException, so that the caller may be able to handle it.
    
    ## How was this patch tested?
    
    (Please explain how this patch was tested. E.g. unit tests, integration 
tests, manual tests)
    (If this patch involves UI changes, please attach a screenshot; otherwise, 
remove this)
    
    Please review http://spark.apache.org/contributing.html before opening a 
pull request.
    
    …ient

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

    $ git pull https://github.com/jojochuang/spark master

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

    https://github.com/apache/spark/pull/16285.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 #16285
    
----
commit b78f98606ec8b0f0fd3bf49a9ecfdea8bb83eaf9
Author: Wei-Chiu Chuang <[email protected]>
Date:   2016-12-15T00:04:48Z

    [SPARK-18867] [SQL] Throw cause if IsolatedClientLoad can't create client

----


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