[ https://issues.apache.org/jira/browse/SPARK-1122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14289180#comment-14289180
]
Sean Owen commented on SPARK-1122:
----------------------------------
Is this still live? It seems like this doesn't need special operations. You can collect()
an RDD and broadcast it, right?
> Collect the RDD and send to each partition to form a new RDD
> ------------------------------------------------------------
>
> Key: SPARK-1122
> URL: https://issues.apache.org/jira/browse/SPARK-1122
> Project: Spark
> Issue Type: New Feature
> Components: Spark Core
> Reporter: Shuo Xiang
> Priority: Minor
>
> Two methods (allCollect, allCollectBroadcast) are added to RDD[T], which output a new
RDD[Array[T]] instance with each partition containing all of the
> records of the original RDD stored in a single Array[T] instance (the
> same as RDD.collect). This functionality can be useful in machine learning tasks that
require sharing updated parameters across partitions.
--
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
|