spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jelgh <>
Subject Getting Parts of Iterables in Function's call method
Date Wed, 19 Nov 2014 09:33:36 GMT

I run groupBy on a JavaRDD<MyClass> so that I get a JavaPairRDD<String,

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?


View this message in context:
Sent from the Apache Spark User List mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message