Hi,

I have some PairRDDs like

K1 A
K1 B
K1 C

K2 D
K2 D
K2 E

and I want to create

A B
A C
B C
D D
D E

Whats the best way to do this? If I join the RDD with itself, I will end up
with A A which I do not want. I cant do distinct as that will filter out
the D D which I want.

Any pointers? Thanks.

Best Regards,
Sonal
Nube Technologies <http://www.nubetech.co>

<http://in.linkedin.com/in/sonalgoyal>

Reply via email to