GithubHelp home page GithubHelp logo

aerospike-hadoop's Issues

aerospike-hadoop does not compile on Maven 3.0.5 & OpenJDK 7

mvn clean package does not compile on Ubuntu 14.04 LTS.

Here is the Maven --version output:

$ mvn --version
Apache Maven 3.0.5
Maven home: /usr/share/maven
Java version: 1.7.0_75, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.13.0-46-generic", arch: "amd64", family: "unix"

And here is the Java -version output:

$ java -version
java version "1.7.0_75"
OpenJDK Runtime Environment (IcedTea 2.5.4) (7u75-2.5.4-1~trusty1)
OpenJDK 64-Bit Server VM (build 24.75-b04, mixed mode

Here is the Maven output:

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] aerospike-mapreduce ............................... FAILURE [1.047s]
[INFO] sampledata ........................................ SKIPPED
[INFO] word_count_input .................................. SKIPPED
[INFO] aggregate_int_input ............................... SKIPPED
[INFO] word_count_output ................................. SKIPPED
[INFO] session_rollup .................................... SKIPPED
[INFO] generate_profiles ................................. SKIPPED
[INFO] external_join ..................................... SKIPPED
[INFO] spark_session_rollup .............................. SKIPPED
[INFO] aerospike-hadoop-examples ......................... SKIPPED
[INFO] aerospike-hadoop-parent ........................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.182s
[INFO] Finished at: Fri Mar 13 18:08:23 CET 2015
[INFO] Final Memory: 13M/218M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project aerospike-mapreduce: Compilation failure: Compilation failure:
[ERROR] /path/to/aerospike-hadoop/mapreduce/src/main/java/com/aerospike/hadoop/mapreduce/AerospikeOutputFormat.java:[35,43] error: generics are not supported in -source 1.3
[ERROR] 
[ERROR] (use -source 5 or higher to enable generics)
[ERROR] /path/to/aerospike-hadoop/mapreduce/src/main/java/com/aerospike/hadoop/mapreduce/AerospikeOutputFormat.java:[44,9] error: annotations are not supported in -source 1.3
[ERROR] 
[ERROR] (use -source 5 or higher to enable annotations)
[ERROR] /path/to/aerospike-hadoop/mapreduce/src/main/java/com/aerospike/hadoop/mapreduce/AerospikeRecord.java:[42,14] error: generics are not supported in -source 1.3
[ERROR] 
[ERROR] (use -source 5 or higher to enable generics)
[ERROR] /path/to/aerospike-hadoop/mapreduce/src/main/java/com/aerospike/hadoop/mapreduce/AerospikeRecord.java:[91,49] error: for-each loops are not supported in -source 1.3
[ERROR] 
[ERROR] (use -source 5 or higher to enable for-each loops)
[ERROR] /path/to/aerospike-hadoop/mapreduce/src/main/java/com/aerospike/hadoop/mapreduce/AerospikeRecordReader.java:[51,24] error: generics are not supported in -source 1.3
[ERROR] 
[ERROR] (use -source 5 or higher to enable generics)
[ERROR] /path/to/aerospike-hadoop/mapreduce/src/main/java/com/aerospike/hadoop/mapreduce/AerospikeRecordReader.java:[84,9] error: annotations are not supported in -source 1.3
[ERROR] 
[ERROR] (use -source 5 or higher to enable annotations)
[ERROR] /path/to/aerospike-hadoop/mapreduce/src/main/java/com/aerospike/hadoop/mapreduce/AerospikeSplit.java:[123,32] error: for-each loops are not supported in -source 1.3
[ERROR] 
[ERROR] (use -source 5 or higher to enable for-each loops)
[ERROR] /path/to/aerospike-hadoop/mapreduce/src/main/java/com/aerospike/hadoop/mapreduce/AerospikeRecordWriter.java:[36,43] error: generics are not supported in -source 1.3
[ERROR] 
[ERROR] (use -source 5 or higher to enable generics)
[ERROR] /path/to/aerospike-hadoop/mapreduce/src/main/java/com/aerospike/hadoop/mapreduce/AerospikeRecordWriter.java:[67,5] error: annotations are not supported in -source 1.3
[ERROR] 
[ERROR] (use -source 5 or higher to enable annotations)
[ERROR] /path/to/aerospike-hadoop/mapreduce/src/main/java/com/aerospike/hadoop/mapreduce/AerospikeInputFormat.java:[54,23] error: generics are not supported in -source 1.3
[ERROR] 
[ERROR] (use -source 5 or higher to enable generics)
[ERROR] /path/to/aerospike-hadoop/mapreduce/src/main/java/com/aerospike/hadoop/mapreduce/AerospikeLogger.java:[28,2] error: annotations are not supported in -source 1.3
[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

This seems like a Java or Maven version problem, but there is no information relative to these versions on the README.md.

What am I missing?

Thanks a bunch!
Pampa

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.