have a look at .transformWith, you can specify another RDD. Sent from my iPhone
On 02 Oct 2015, at 21:50, "saif.a.ell...@wellsfargo.com<mailto:saif.a.ell...@wellsfargo.com>" <saif.a.ell...@wellsfargo.com<mailto:saif.a.ell...@wellsfargo.com>> wrote: I tried broadcasting a key-value rdd, but then I cannot perform any rdd-actions inside a map/foreach function of another rdd. any tips? If going into scala collections I end up with huge memory bottlenecks. Saif