Hi Naveen, Nesting RDDs inside of transformations or actions is not supported. Instead if you need access to the other RDDs contents you can try doing a join or (if the data is small enough) collecting and broadcasting the second RDD.
Cheers, Holden :) On Thu, Nov 6, 2014 at 10:28 PM, Naveen Kumar Pokala < npok...@spcapitaliq.com> wrote: > Hi, > > > > I am trying to execute a sample program by nesting the RDD inside the > transformations. It is throwing null pointer exception. > > > > Any solution or alternative would be helpful. > > > > Thanks & regards, > > Naveen. > -- Cell : 425-233-8271