[
https://issues.apache.org/jira/browse/SPARK-14708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon updated SPARK-14708:
---------------------------------
Labels: bulk-closed (was: )
> Repl Serialization Issue
> ------------------------
>
> Key: SPARK-14708
> URL: https://issues.apache.org/jira/browse/SPARK-14708
> Project: Spark
> Issue Type: Bug
> Components: Spark Core
> Reporter: Bill Chambers
> Priority: Minor
> Labels: bulk-closed
>
> Run this code 6 times with the :paste command in Spark. You'll see
> exponential slow downs.
> class IntWrapper(val i: Int) extends Serializable { }
> var pairs = sc.parallelize(Array((0, new IntWrapper(0))))
> for (_ <- 0 until 3) {
> val wrapper = pairs.values.reduce((x,_) => x)
> pairs = pairs.mapValues(_ => wrapper)
> }
> val result = pairs.collect()
> https://forums.databricks.com/questions/7729/delays-when-running-program-multiple-times-in-note.html
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]