You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by jelgh <jo...@gmail.com> on 2014/11/19 10:33:36 UTC
Getting Parts of Iterables in Function's call method
Hello,
I run groupBy on a JavaRDD<MyClass> so that I get a JavaPairRDD<String,
Iterable<MyClass>>.
If I then run for instance a reduceByKey, could I get a partitions of the
grouped Iterable in the reduce function's call method? Or will I always get
a full group's Iterable?
If you always get a full group's Iterable, you know you have all data, but
performance-wise it might be really bad--meaning you have to be careful and
know your dataset well before grouping and performing actions on it. Right?
Thanks,
Johannes
--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Getting-Parts-of-Iterables-in-Function-s-call-method-tp19258.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org