Re: IncompatibleClassChangeError

2015-03-05 Thread M. Dale
In Hadoop 1.x TaskAttemptContext is a class (for example, https://hadoop.apache.org/docs/r1.2.1/api/org/apache/hadoop/mapred/TaskAttemptContext.html) In Hadoop 2.x TaskAttemptContext is an interface (https://hadoop.apache.org/docs/r2.4.0/api/org/apache/hadoop/mapreduce/TaskAttemptContext.html)

Re: IncompatibleClassChangeError while running a spark program

2014-02-27 Thread Usman Ghani
Thanks Sandy. Actually found out that I had three versions of ASM lib, one in its own jar, one in mockito and one in spark. I moved the standalone one and downloaded the version of mockito-core version of the jar and things seem to be working, but for future reference, the mockito-all and asm jars

Re: IncompatibleClassChangeError while running a spark program

2014-02-27 Thread Sandy Ryza
Hi Usman, This is a known issue that stems from Spark dependencies using two different versions of ASM - https://spark-project.atlassian.net/browse/SPARK-782. How are you setting up the classpath for your app? -Sandy On Thu, Feb 27, 2014 at 11:59 AM, Usman Ghani wrote: > Exception in thread