GitHub user davies opened a pull request:

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

    [SPARK-4531] [MLlib] cache serialized java object

    The Pyrolite is pretty slow (comparing to the adhoc serializer in 1.1), it 
cause much performance regression in 1.2, because we cache the serialized 
Python object in JVM, deserialize them into Java object in each step.
    
    This PR change to cache the deserialized JavaRDD instead of PythonRDD to 
avoid the deserialization of Pyrolite. It should have similar memory usage as 
before, but much faster.

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

    $ git pull https://github.com/davies/spark cache

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

    https://github.com/apache/spark/pull/3397.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 #3397
    
----
commit f1063e150f5e8a8ec4b654d708786d221295f96a
Author: Davies Liu <[email protected]>
Date:   2014-11-21T06:41:54Z

    cache serialized java object

----


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