Re: RDD[Vector] Immutability issue

2015-12-29 Thread Vivekananda Venkateswaran
RDD is collection of object And if these objects are mutable and changed then the same will reflect in RDD. For immutable objects it will not. Changing the mutable objects that are in the RDD is not right practise. The RDD is immutable in the sense that any transformation on the RDD will result i

Re: Extracting RDD of values per key from PairRDD

2015-11-03 Thread Vivekananda Venkateswaran
Hi Deepak, AFAIK, such nested RDDs are not allowed. Thanks, -Venkat. On Tue, Nov 3, 2015 at 4:20 PM, Deepak Gopalakrishnan wrote: > Hello, > > I have a use case where I need to get *an RDD of values per key *from a > PairRDD. Below is my PairRDD. > > JavaPairRDD> classifiedSampleRdd = > samp