This issue is because of incorrect setting of JAVA_HOME to jdk 6 instead of jdk 7. How should we go about getting it resolved?
On Tue, Mar 3, 2015 at 8:43 AM, Apache Jenkins Server < [email protected]> wrote: > See <https://builds.apache.org/job/Apache-Falcon-Distributed-Assembly/340/ > > > > ------------------------------------------ > [...truncated 67 lines...] > [INFO] Apache Falcon Hadoop Dependencies > [INFO] Apache Falcon Test Utility > [INFO] Apache Falcon Commons > [INFO] Apache Falcon Oozie EL Extension > [INFO] Apache Falcon Embedded Hadoop - Test Cluster > [INFO] Apache Falcon Sharelib Hive - Test Cluster > [INFO] Apache Falcon Sharelib Pig - Test Cluster > [INFO] Apache Falcon Sharelib Hcatalog - Test Cluster > [INFO] Apache Falcon Sharelib Oozie - Test Cluster > [INFO] Apache Falcon Test Tools - Test Cluster > [INFO] Apache Falcon Messaging > [INFO] Apache Falcon Oozie Adaptor > [INFO] Apache Falcon Acquisition > [INFO] Apache Falcon Replication > [INFO] Apache Falcon Retention > [INFO] Apache Falcon Archival > [INFO] Apache Falcon Rerun > [INFO] Apache Falcon Prism > [INFO] Apache Falcon Web Application > [INFO] Apache Falcon Documentation > [INFO] > [INFO] Using the builder > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder > with a thread count of 1 > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Checkstyle 0.7-SNAPSHOT > [INFO] > ------------------------------------------------------------------------ > [INFO] > [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ checkstyle --- > [INFO] Deleting < > https://builds.apache.org/job/Apache-Falcon-Distributed-Assembly/ws/checkstyle/target > > > [INFO] > [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ > checkstyle --- > [WARNING] Using platform encoding (ISO-8859-1 actually) to copy filtered > resources, i.e. build is platform dependent! > [INFO] Copying 5 resources > [INFO] > [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ > checkstyle --- > [INFO] No sources to compile > [INFO] > [INFO] --- maven-resources-plugin:2.6:testResources > (default-testResources) @ checkstyle --- > [WARNING] Using platform encoding (ISO-8859-1 actually) to copy filtered > resources, i.e. build is platform dependent! > [INFO] skip non existing resourceDirectory < > https://builds.apache.org/job/Apache-Falcon-Distributed-Assembly/ws/checkstyle/src/test/resources > > > [INFO] > [INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ > checkstyle --- > [INFO] No sources to compile > [INFO] > [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ checkstyle > --- > [INFO] Tests are skipped. > [INFO] > [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ checkstyle --- > [INFO] Building jar: < > https://builds.apache.org/job/Apache-Falcon-Distributed-Assembly/ws/checkstyle/target/checkstyle-0.7-SNAPSHOT.jar > > > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Apache Falcon 0.7-SNAPSHOT > [INFO] > ------------------------------------------------------------------------ > [INFO] > [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ falcon-main --- > [INFO] Deleting < > https://builds.apache.org/job/Apache-Falcon-Distributed-Assembly/ws/target > > > [INFO] > [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-property) @ > falcon-main --- > [INFO] > [INFO] --- buildnumber-maven-plugin:1.0:create (default) @ falcon-main --- > [INFO] Checking for local modifications: skipped. > [INFO] Updating project files from SCM: skipped. > [INFO] Executing: /bin/sh -c cd < > https://builds.apache.org/job/Apache-Falcon-Distributed-Assembly/ws/> && > git show > [INFO] Working directory: < > https://builds.apache.org/job/Apache-Falcon-Distributed-Assembly/ws/> > [INFO] Storing buildNumber: 108b36d42aadbd9d27aa2cd28ca6a01798f35867 at > timestamp: 1425352405888 > [INFO] Executing: /bin/sh -c cd < > https://builds.apache.org/job/Apache-Falcon-Distributed-Assembly/ws/> && > git show > [INFO] Working directory: < > https://builds.apache.org/job/Apache-Falcon-Distributed-Assembly/ws/> > [INFO] Storing buildScmBranch: UNKNOWN > [INFO] > [INFO] --- maven-remote-resources-plugin:1.4:process (default) @ > falcon-main --- > [INFO] > [INFO] --- maven-site-plugin:3.2:site (default) @ falcon-main --- > [INFO] maven.site.skip = true: Skipping site generation > [INFO] > [INFO] --- maven-site-plugin:3.2:attach-descriptor (attach-descriptor) @ > falcon-main --- > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Build Tools 0.7-SNAPSHOT > [INFO] > ------------------------------------------------------------------------ > [INFO] > [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ build-tools --- > [INFO] Deleting < > https://builds.apache.org/job/Apache-Falcon-Distributed-Assembly/ws/build-tools/target > > > [INFO] > [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-property) @ > build-tools --- > [INFO] > [INFO] --- buildnumber-maven-plugin:1.0:create (default) @ build-tools --- > [INFO] Checking for local modifications: skipped. > [INFO] Updating project files from SCM: skipped. > [INFO] Executing: /bin/sh -c cd < > https://builds.apache.org/job/Apache-Falcon-Distributed-Assembly/ws/build-tools> > && git show > [INFO] Working directory: < > https://builds.apache.org/job/Apache-Falcon-Distributed-Assembly/ws/build-tools > > > [INFO] Storing buildNumber: 108b36d42aadbd9d27aa2cd28ca6a01798f35867 at > timestamp: 1425352407192 > [INFO] Executing: /bin/sh -c cd < > https://builds.apache.org/job/Apache-Falcon-Distributed-Assembly/ws/build-tools> > && git show > [INFO] Working directory: < > https://builds.apache.org/job/Apache-Falcon-Distributed-Assembly/ws/build-tools > > > [INFO] Storing buildScmBranch: UNKNOWN > [INFO] > [INFO] --- exec-maven-plugin:1.2.1:exec (BUILD-OOZIE) @ build-tools --- > + VERSION=4.1.0 > + BUILD_VERSION=4.1.0-falcon > + FORCE_BUILD=false > + echo 'oozie version ' > oozie version > + '[' -z /home/jenkins/tools/maven/latest ']' > + export MVN_CMD=/home/jenkins/tools/maven/latest/bin/mvn > + MVN_CMD=/home/jenkins/tools/maven/latest/bin/mvn > + echo 'Using maven from ' /home/jenkins/tools/maven/latest/bin/mvn > Using maven from /home/jenkins/tools/maven/latest/bin/mvn > + [[ false == \f\a\l\s\e ]] > ++ /home/jenkins/tools/maven/latest/bin/mvn help:effective-settings > ++ grep localRepository > ++ cut '-d<' -f1 > ++ cut '-d>' -f2 > + [[ -f > /home/jenkins/.m2/repository/org/apache/oozie/oozie-webapp/4.1.0-falcon/oozie-webapp-4.1.0-falcon.war > ]] > + echo 'Oozie already setup. skipping' > + exit 0 > Oozie already setup. skipping > [INFO] > [INFO] --- maven-remote-resources-plugin:1.4:process (default) @ > build-tools --- > [INFO] > [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ > build-tools --- > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] skip non existing resourceDirectory < > https://builds.apache.org/job/Apache-Falcon-Distributed-Assembly/ws/build-tools/src/main/resources > > > [INFO] skip non existing resourceDirectory < > https://builds.apache.org/job/Apache-Falcon-Distributed-Assembly/ws/build-tools/src/main/resources > > > [INFO] skip non existing resourceDirectory < > https://builds.apache.org/job/Apache-Falcon-Distributed-Assembly/ws/build-tools/src/test/resources > > > [INFO] Copying 2 resources to META-INF > [INFO] Copying 3 resources > [INFO] > [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ > build-tools --- > [INFO] No sources to compile > [INFO] > [INFO] --- maven-resources-plugin:2.6:testResources > (default-testResources) @ build-tools --- > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] skip non existing resourceDirectory < > https://builds.apache.org/job/Apache-Falcon-Distributed-Assembly/ws/build-tools/src/test/resources > > > [INFO] Copying 3 resources > [INFO] > [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ > build-tools --- > [INFO] No sources to compile > [INFO] > [INFO] --- maven-surefire-plugin:2.16:test (default-test) @ build-tools --- > [INFO] Tests are skipped. > [INFO] > [INFO] --- maven-site-plugin:3.2:site (default) @ build-tools --- > [INFO] maven.site.skip = true: Skipping site generation > [INFO] > [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ build-tools --- > [INFO] Building jar: < > https://builds.apache.org/job/Apache-Falcon-Distributed-Assembly/ws/build-tools/target/build-tools-0.7-SNAPSHOT.jar > > > [INFO] > [INFO] --- maven-site-plugin:3.2:attach-descriptor (attach-descriptor) @ > build-tools --- > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Apache Falcon CLI client 0.7-SNAPSHOT > [INFO] > ------------------------------------------------------------------------ > [INFO] > [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ falcon-client --- > [INFO] Deleting < > https://builds.apache.org/job/Apache-Falcon-Distributed-Assembly/ws/client/target > > > [INFO] > [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-property) @ > falcon-client --- > [INFO] > [INFO] --- buildnumber-maven-plugin:1.0:create (default) @ falcon-client > --- > [INFO] Checking for local modifications: skipped. > [INFO] Updating project files from SCM: skipped. > [INFO] Executing: /bin/sh -c cd < > https://builds.apache.org/job/Apache-Falcon-Distributed-Assembly/ws/client> > && git show > [INFO] Working directory: < > https://builds.apache.org/job/Apache-Falcon-Distributed-Assembly/ws/client > > > [INFO] Storing buildNumber: 108b36d42aadbd9d27aa2cd28ca6a01798f35867 at > timestamp: 1425352411164 > [INFO] Executing: /bin/sh -c cd < > https://builds.apache.org/job/Apache-Falcon-Distributed-Assembly/ws/client> > && git show > [INFO] Working directory: < > https://builds.apache.org/job/Apache-Falcon-Distributed-Assembly/ws/client > > > [INFO] Storing buildScmBranch: UNKNOWN > [INFO] > [INFO] --- maven-jaxb2-plugin:0.8.0:generate (1) @ falcon-client --- > [INFO] > [INFO] --- maven-remote-resources-plugin:1.4:process (default) @ > falcon-client --- > [INFO] > [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ > falcon-client --- > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] Copying 4 resources > [INFO] Copying 0 resource > [INFO] skip non existing resourceDirectory < > https://builds.apache.org/job/Apache-Falcon-Distributed-Assembly/ws/client/src/test/resources > > > [INFO] Copying 2 resources to META-INF > [INFO] Copying 1 resource > [INFO] Copying 3 resources > [INFO] > [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ > falcon-client --- > [INFO] Compiling 86 source files to < > https://builds.apache.org/job/Apache-Falcon-Distributed-Assembly/ws/client/target/classes > > > [INFO] ------------------------------------------------------------- > [ERROR] COMPILATION ERROR : > [INFO] ------------------------------------------------------------- > [ERROR] Failure executing javac, but could not parse the error: > javac: invalid target release: 1.7 > Usage: javac <options> <source files> > use -help for a list of possible options > > [INFO] 1 error > [INFO] ------------------------------------------------------------- > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] Skipping Apache Falcon > [INFO] This project has been banned from the build due to previous > failures. > [INFO] > ------------------------------------------------------------------------ > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] Checkstyle ........................................ SUCCESS [ > 0.892 s] > [INFO] Apache Falcon ..................................... SUCCESS [ > 1.675 s] > [INFO] Build Tools ....................................... SUCCESS [ > 3.636 s] > [INFO] Apache Falcon CLI client .......................... FAILURE [ > 3.337 s] > [INFO] Apache Falcon Metrics ............................. SKIPPED > [INFO] Apache Falcon Hadoop Dependencies ................. SKIPPED > [INFO] Apache Falcon Test Utility ........................ SKIPPED > [INFO] Apache Falcon Commons ............................. SKIPPED > [INFO] Apache Falcon Oozie EL Extension .................. SKIPPED > [INFO] Apache Falcon Embedded Hadoop - Test Cluster ...... SKIPPED > [INFO] Apache Falcon Sharelib Hive - Test Cluster ........ SKIPPED > [INFO] Apache Falcon Sharelib Pig - Test Cluster ......... SKIPPED > [INFO] Apache Falcon Sharelib Hcatalog - Test Cluster .... SKIPPED > [INFO] Apache Falcon Sharelib Oozie - Test Cluster ....... SKIPPED > [INFO] Apache Falcon Test Tools - Test Cluster ........... SKIPPED > [INFO] Apache Falcon Messaging ........................... SKIPPED > [INFO] Apache Falcon Oozie Adaptor ....................... SKIPPED > [INFO] Apache Falcon Acquisition ......................... SKIPPED > [INFO] Apache Falcon Replication ......................... SKIPPED > [INFO] Apache Falcon Retention ........................... SKIPPED > [INFO] Apache Falcon Archival ............................ SKIPPED > [INFO] Apache Falcon Rerun ............................... SKIPPED > [INFO] Apache Falcon Prism ............................... SKIPPED > [INFO] Apache Falcon Web Application ..................... SKIPPED > [INFO] Apache Falcon Documentation ....................... SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 10.664 s > [INFO] Finished at: 2015-03-03T03:13:34+00:00 > [INFO] Final Memory: 29M/723M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile > (default-compile) on project falcon-client: Compilation failure > [ERROR] Failure executing javac, but could not parse the error: > [ERROR] javac: invalid target release: 1.7 > [ERROR] Usage: javac <options> <source files> > [ERROR] use -help for a list of possible options > [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 :falcon-client > Build step 'Execute shell' marked build as failure > Archiving artifacts >
