While the RDD set operators are easy to use, one must be careful with the data shuffling that Spark has to perform in the background to complete some of these operations (for example, intersection).
It is worth nothing that the union operator does not remove duplicates from the resulting RDD set.