News for hackers. Stuff that matters.
Re:Apache Spark 1.0.0 by jey on Friday May 30, 2014 @03:28PM (#7823517)
> Maybe Spark doesn't like 100x growth in the size of an RDD using flatMap?

I'd be interested to hear more about your use case and the problems you encountered. It's possible that you need to do some kind of .coalesce() operation to rebalance the partitions if you have unbalanced partition sizes.

Re:Apache Spark 1.0.0 by iskander on Friday May 30, 2014 @04:43PM (#7823967)
Well, the RDD is initially partitioned using a RangePartitioner over a dense key space of Longs. Each element is then expanded ~100x (each object is significantly smaller than the original value). So the total memory footprint and skew of the expanded RDD shouldn't, theoretically, be a problem.