Re: IncompatibleClassChangeError

2013-09-29 Thread Pradeep Gollakota
I'm not entirely sure what the differences are... but according to Cloudera documentation, upgrading from CDH3 to CDH4 does involve a recompile. http://www.cloudera.com/content/cloudera-content/cloudera-docs/CDH4/4.2.0/CDH4-Release-Notes/cdh4ki_topic_1_6.html On Sun, Sep 29, 2013 at 8:29 PM, lei

Re: IncompatibleClassChangeError

2013-09-29 Thread lei liu
Yes, My job is compiled in CHD3u3, and I run the job on CDH4.3.1, but I use the mr1 of CHD4.3.1 to run the job. What are the different mr1 of cdh4 and mr of cdh3? Thanks, LiuLei 2013/9/30 Pradeep Gollakota > I believe it's a difference between the version that your code was > compiled again

Re: IncompatibleClassChangeError

2013-09-29 Thread Pradeep Gollakota
I believe it's a difference between the version that your code was compiled against vs the version that you're running against. Make sure that you're not packaging hadoop jar's into your jar and make sure you're compiling against the correct version as well. On Sun, Sep 29, 2013 at 7:27 PM, lei l

IncompatibleClassChangeError

2013-09-29 Thread lei liu
I use the CDH-4.3.1 and mr1, when I run one job, I am getting the following error. Exception in thread "main" java.lang.IncompatibleClassChangeError: Found interface org.apache.hadoop.mapreduce.JobContext, but class was expected at org.apache.hadoop.hbase.mapreduce.TableInputFormatBase.get

IncompatibleClassChangeError

2013-09-26 Thread lei liu
I use the CDH-4.3.1 and mr1, when I run one job, I am getting the following error. Exception in thread "main" java.lang.IncompatibleClassChangeError: Found interface org.apache.hadoop.mapreduce.JobContext, but class was expected at org.apache.hadoop.hbase.mapreduce.TableInputFormatBase.get

Re: DFSClient throws IncompatibleClassChangeError

2013-08-21 Thread Rob Blah
Problem solved. What I did was forced master POM of my project to use explicitly guava-11.02 (same as YARN). Nothing else worked, I even moved the guava-14 to a different location, I removed guava dependency completely from my project, also didn't worked. Removing guava-14 from my envs didn't wor

DFSClient throws IncompatibleClassChangeError

2013-08-20 Thread Rob Blah
Hi When I am trying to use DFSClient it throws the following exception: java.lang.IncompatibleClassChangeError: class com.google.common.cache.CacheBuilder$3 has interface com.google.common.base.Ticker as super class at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoa