Re: Issue with Custom Key Class

2014-11-08 Thread Sean Owen
Does your RDD contain a null key? On Sat, Nov 8, 2014 at 11:15 AM, Bahubali Jain wrote: > Hi, > I have a custom key class.In this class equals() and hashcode() have been > overridden. > I have a javaPairRDD which has this class as the key .When groupbykey() or > reducebykey() is called a null o

Issue with Custom Key Class

2014-11-08 Thread Bahubali Jain
Hi, I have a custom key class.In this class equals() and hashcode() have been overridden. I have a javaPairRDD which has this class as the key .When groupbykey() or reducebykey() is called a null object is being passed to the function *equals*(Object obj) as a result the grouping is failing. Is t