GitHub user rxin opened a pull request:

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

    [SPARK-14149] Log exceptions in tryOrIOException

    ## What changes were proposed in this pull request?
    We ran into a problem today debugging some class loading problem during 
deserialization, and JVM was masking the underlying exception which made it 
very difficult to debug. We can however log the exceptions using try/catch 
ourselves in serialization/deserialization. The good thing is that all these 
methods are already using Utils.tryOrIOException, so we can just put the try 
catch and logging in a single place.
    
    ## How was this patch tested?
    A logging change with a manual test.


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

    $ git pull https://github.com/rxin/spark SPARK-14149

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

    https://github.com/apache/spark/pull/11951.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 #11951
    
----
commit ed7766f526e82ce37099340952c9c5ce7c32478f
Author: Reynold Xin <[email protected]>
Date:   2016-03-25T06:13:08Z

    [SPARK-14149] Log exceptions in tryOrIOException

----


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