spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From klrmowse <klrmo...@gmail.com>
Subject Re: [Spark 2.x Core] Adding to ArrayList inside rdd.foreach()
Date Sat, 07 Apr 2018 17:29:34 GMT
okie, well... 

i'm working with a pair rdd <key, iterable(value)>

i need to extract the values and store them somehow (maybe a simple
Array??), which i later parallelize and reuse

since adding to a list is a no-no, what, if any, are the other options?
(Java Spark, btw)



thanks



--
Sent from: http://apache-spark-user-list.1001560.n3.nabble.com/

---------------------------------------------------------------------
To unsubscribe e-mail: user-unsubscribe@spark.apache.org


Mime
View raw message