[
https://issues.apache.org/jira/browse/SPARK-6288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xiangrui Meng updated SPARK-6288:
---------------------------------
Attachment: Screen Shot 2015-03-13 at 10.45.35 AM.png
Attached a screenshot of YourKit profiling results of the following code
{code}
from pyspark.mllib.random import RandomRDDs
RandomRDDs.uniformVectorRDD(sc, 1000000, 10000, 1)
{code}
> Pyrolite calls hashCode to cache previously serialized objects
> --------------------------------------------------------------
>
> Key: SPARK-6288
> URL: https://issues.apache.org/jira/browse/SPARK-6288
> Project: Spark
> Issue Type: Improvement
> Components: PySpark
> Affects Versions: 1.0.2, 1.1.1, 1.3.0, 1.2.1
> Reporter: Xiangrui Meng
> Assignee: Josh Rosen
> Attachments: Screen Shot 2015-03-13 at 10.45.35 AM.png
>
>
> https://github.com/irmen/Pyrolite/blob/v2.0/java/src/net/razorvine/pickle/Pickler.java#L140
> This operation could be quite expensive, compared to serializing the object
> directly, because hashCode usually needs to access all data stored in the
> object. Maybe we should disable this feature by default.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]