Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce >> mail # dev >> Trying to compile 0.23.1 branch


Copy link to this message
-
Trying to compile 0.23.1 branch
mvn compile -DskipTests -Dcommons.daemon.os.name=linux
-Dcommons.daemon.os.arch=i686

can't get it compiled - openjdk version "1.6.0_30". hadoop needs java 5?

[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]
/tmp/hadoop-common/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/Counters.java:[93,49]
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]
/tmp/hadoop-common/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/Counters.java:[576,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]
/tmp/hadoop-common/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/Counters.java:[588,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
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB