You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Bill Chambers (JIRA)" <ji...@apache.org> on 2016/04/18 20:18:25 UTC
[jira] [Created] (SPARK-14708) Repl Serialization Issue
Bill Chambers created SPARK-14708:
-------------------------------------
Summary: 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: Critical
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
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org