We use our custom classes which are Serializable and have well defined hashcode and equals methods through the Java API. Whats the issue you are getting?
Best Regards, Sonal Nube Technologies <http://www.nubetech.co> <http://in.linkedin.com/in/sonalgoyal> On Fri, Oct 17, 2014 at 12:28 PM, Jaonary Rabarisoa <jaon...@gmail.com> wrote: > Dear all, > > Is it possible to use any kind of object as key in a PairedRDD. When I use > a case class key, the groupByKey operation don't behave as I expected. I > want to use a case class to avoid using a large tuple as it is easier to > manipulate. > > > Cheers, > > Jaonary >