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:19:25 UTC
[jira] [Commented] (SPARK-14708) Repl Serialization Issue
[ https://issues.apache.org/jira/browse/SPARK-14708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15246230#comment-15246230 ]
Bill Chambers commented on SPARK-14708:
---------------------------------------
cc:[~joshrosen]
> 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