Hope you are doing well


It seems that you want to concatenate two RDD's. If so, you can achieve it using UNION command.


val joined_rdd = rdd1.union(rdd2)


Where, rdd1 and rdd2 are already defined and you want to concatenate them.This joined rdd value will be in joined_rdd


Hope this resolves your query

In case of any further issue,feel free to revert.

Kindly give your valuable feedback by clicking on any one of the smiley's below.





Regards

Sumit Anand

edureka! Solution Team

Website - www.edureka.co

Edureka claims 1st position at Deloitte's Technology Fast 50 India 2014