Hi, When i am trying to build hadoop-mapreduce-project in hadoop trunk i came across this.Please help me out with this.Thanks in advance
[ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /home/rajesh/Hadoop-Trunk/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/Counters.java:[473,33] incompatible types; inferred type argument(s) org.apache.hadoop.mapreduce.Counter,java.lang.Object do not conform to bounds of type variable(s) C,G found : <C,G>java.lang.String required: java.lang.String [ERROR] /home/rajesh/Hadoop-Trunk/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/Counters.java:[485,36] incompatible types; inferred type argument(s) org.apache.hadoop.mapreduce.Counter,java.lang.Object do not conform to bounds of type variable(s) C,G found : <C,G>org.apache.hadoop.mapred.Counters required: org.apache.hadoop.mapred.Counters [INFO] 2 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] hadoop-yarn ....................................... SUCCESS [7.726s] [INFO] hadoop-yarn-api ................................... SUCCESS [45.438s] [INFO] hadoop-yarn-common ................................ SUCCESS [58.722s] [INFO] hadoop-yarn-server ................................ SUCCESS [0.464s] [INFO] hadoop-yarn-server-common ......................... SUCCESS [19.194s] [INFO] hadoop-yarn-server-nodemanager .................... SUCCESS [40.454s] [INFO] hadoop-yarn-server-web-proxy ...................... SUCCESS [12.709s] [INFO] hadoop-yarn-server-resourcemanager ................ SUCCESS [49.082s] [INFO] hadoop-yarn-server-tests .......................... SUCCESS [7.770s] [INFO] hadoop-mapreduce-client ........................... SUCCESS [0.361s] [INFO] hadoop-mapreduce-client-core ...................... FAILURE [34.484s] [INFO] hadoop-yarn-applications .......................... SKIPPED [INFO] hadoop-yarn-applications-distributedshell ......... SKIPPED [INFO] hadoop-yarn-site .................................. SKIPPED [INFO] hadoop-mapreduce-client-common .................... SKIPPED [INFO] hadoop-mapreduce-client-shuffle ................... SKIPPED [INFO] hadoop-mapreduce-client-app ....................... SKIPPED [INFO] hadoop-mapreduce-client-hs ........................ SKIPPED [INFO] hadoop-mapreduce-client-jobclient ................. SKIPPED [INFO] hadoop-mapreduce .................................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4:39.327s [INFO] Finished at: Sat Nov 12 02:22:55 IST 2011 [INFO] Final Memory: 111M/303M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project hadoop-mapreduce-client-core: Compilation failure: Compilation failure: [ERROR] /home/rajesh/Hadoop-Trunk/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/Counters.java:[473,33] incompatible types; inferred type argument(s) org.apache.hadoop.mapreduce.Counter,java.lang.Object do not conform to bounds of type variable(s) C,G [ERROR] found : <C,G>java.lang.String [ERROR] required: java.lang.String [ERROR] /home/rajesh/Hadoop-Trunk/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/Counters.java:[485,36] incompatible types; inferred type argument(s) org.apache.hadoop.mapreduce.Counter,java.lang.Object do not conform to bounds of type variable(s) C,G [ERROR] found : <C,G>org.apache.hadoop.mapred.Counters [ERROR] required: org.apache.hadoop.mapred.Counters [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :hadoop-mapreduce-client-core Thanks Rajesh Putta Development Engineer Pramati Technologies
