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<Double, Iterable<Vector>> classifiedSampleRdd =
sampleRDD.groupByKey();

I want a separate RDD for the vectors per double entry in the key. *I
would now want a RDD of values for each key.* Which will be

JavaRDD<Vector> = classifiedSampleRdd. ???


Can someone tell me how I can extract that ?

Thanks
Deepak

Reply via email to