GitHub user ericl opened a pull request:

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

    [SPARK-16550] [core] Certain classes fail to deserialize in block manager 
replication

    ## What changes were proposed in this pull request?
    
    This builds on @JoshRosen 's original patch to also fix block replication 
for repl-defined classes. This is done by erasing the classTag when using the 
default serializer, since it's not needed in that case, and the classTag was 
failing to deserialize on the remote end.
    
    The proper fix is actually to use the right classloader when deserializing 
the classtags, but that is a much more invasive change for 2.0.
    
    ## How was this patch tested?
    
    End-to-end test in ReplSuite (also more tests in DistributedSuite from the 
original patch).

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

    $ git pull https://github.com/ericl/spark spark-16550

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

    https://github.com/apache/spark/pull/14311.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 #14311
    
----
commit 0e75a6bddcf721f5e040992d146b3f3132e0cbbe
Author: Eric Liang <[email protected]>
Date:   2016-07-20T22:20:54Z

    Wed Jul 20 15:20:54 PDT 2016

commit 10ead578158c929212a7d3fd9083c6e711450f03
Author: Eric Liang <[email protected]>
Date:   2016-07-21T22:44:17Z

    Thu Jul 21 15:44:17 PDT 2016

commit 6e224e149b16c4229b789ed3f70fb377716af98e
Author: Eric Liang <[email protected]>
Date:   2016-07-21T22:44:32Z

    Thu Jul 21 15:44:32 PDT 2016

commit c67fbdbf222a6ceafb3e2315fb494fdb6a75faae
Author: Eric Liang <[email protected]>
Date:   2016-07-21T23:36:54Z

    Thu Jul 21 16:36:54 PDT 2016

----


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