GitHub user ankurdave opened a pull request:

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

    [SPARK-2455] Mark (Shippable)VertexPartition serializable

    VertexPartition and ShippableVertexPartition are contained in RDDs but are 
not marked Serializable, leading to NotSerializableExceptions when using Java 
serialization.
    
    The fix is simply to mark them as Serializable. This PR does that and adds 
a test for serializing them using Java and Kryo serialization.

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

    $ git pull https://github.com/ankurdave/spark SPARK-2455

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

    https://github.com/apache/spark/pull/1376.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 #1376
    
----
commit 1fd42c58c67726322dfdf980187fcd341cea041a
Author: Ankur Dave <ankurd...@gmail.com>
Date:   2014-07-11T21:59:15Z

    Add failing tests for Java serialization

commit ed4a51b71bb71d4996b7443bdb661dcc642f304c
Author: Ankur Dave <ankurd...@gmail.com>
Date:   2014-07-11T21:59:29Z

    Make (Shippable)VertexPartition serializable

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to