Hi, You can map your vertices rdd as follow val pairVertices = verticesRDD.map(vertice => (vertice,null))
the above gives you a pairRDD. After join make sure that you remove superfluous null value. On Tue, Dec 23, 2014 at 10:36 AM, Deep Pradhan <pradhandeep1...@gmail.com> wrote: > Hi, > I have two RDDs, vertices and edges. Vertices is an RDD and edges is a > pair RDD. I want to take three way join of these two. Joins work only when > both the RDDs are pair RDDS right? So, how am I supposed to take a three > way join of these RDDs? > > Thank You > -- Regards, Madhukara Phatak http://www.madhukaraphatak.com