You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:23:20 UTC

[jira] [Updated] (SPARK-14708) Repl Serialization Issue

     [ 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org