Seems this is due to CHD's API incompatibility
CLOUDERA-BUILD. Deprecate user-classes-takes-precedence APIs, because they
appear in CDH and not upstream
commit 7bd71f3d4c8c9471bfb4bdc0baa004d78647ff76
Author: Harsh J <[email protected]>
Date: Sat Apr 20 08:19:28 2013 +0530
http://archive.cloudera.com/cdh5/cdh/5/hadoop-2.2.0-cdh5.0.0-beta-2.CHANGES.txt
Best Regard,
Jeff Zhang
From: "[email protected]<mailto:[email protected]>"
<[email protected]<mailto:[email protected]>>
Reply-To: user <[email protected]<mailto:[email protected]>>
Date: Friday, August 21, 2015 at 2:56 PM
To: user <[email protected]<mailto:[email protected]>>
Subject: Re: Re: tez compile
Hi,
Now, Set the repo for
https://repository.cloudera.com/artifactory/cloudera-repos , and version for
2.3.0-cdh5.1.0.
then, run "mvn package -P\!hadoop24 -P\!hadoop26 -DskipTests=true"
but, compile to tez-mapreduce module error!
error information:
/workspace/tez/apache-tez-0.7.0/tez-mapreduce/src/main/java/org/apache/tez/mapreduce/hadoop/mapreduce/JobContextImpl.java:[57,8]
org.apache.tez.mapreduce.hadoop.mapreduce.JobContextImpl is not abstract and
does not override abstract method userClassesTakesPrecedence() in
org.apache.hadoop.mapreduce.JobContext
Is it caused by version does not match ?
thanks for your help!
________________________________
[email protected]<mailto:[email protected]>
From: Hitesh Shah<mailto:[email protected]>
Date: 2015-08-20 23:00
To: user<mailto:[email protected]>
Subject: Re: tez compile
For the most part, yes - the compile should likely work given that the CDH
release is based off Apache Hadoop 2.3.
To build Tez, you will need to add the CDH maven repo to the pom.xml at the
top-level. Modify hadoop.version to "2.3.0-cdh5.1.0" or something similar based
on your requirements.
And then run "mvn package -P\!hadoop24 -P\!hadoop26" so that you disable all
the features/modules that need a minimum of hadoop-2.4 and hadoop-2.6
respectively.
Let us know if you run into any problems.
thanks
- Hitesh
On Aug 20, 2015, at 3:29 AM, [email protected]<mailto:[email protected]>
wrote:
>
>
> Hi~ all
>
> Can use cdh-hadoop 2.3 to compile tez 7.0 ?
>
> Wirtten in the building.txt is support, lowest hadoop version 2.2 ?
>
>
> Now, my cluster with CDH 5.1 version, can use tez ?
>
> Thanks !
>
>
>
> [email protected]<mailto:[email protected]>