Unable to compile both trunk and 0.5.1 code

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Unable to compile both trunk and 0.5.1 code

Liu, Raymond
Hi

Just clone the code from incubator flink, I tried both trunk code and 0.5.1 release, and encounter the same problem.

# mvn --version
Apache Maven 3.0.4
Maven home: /usr/share/maven
Java version: 1.6.0_30, vendor: Sun Microsystems Inc.
Java home: /usr/java/jdk1.6.0_30/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.8.0-29-generic", arch: "amd64", family: "unix"


# mvn -DskipTests clean package
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] stratosphere
[INFO] stratosphere-core
[INFO] stratosphere-java
[INFO] stratosphere-runtime
[INFO] stratosphere-compiler
[INFO] stratosphere-scala
[INFO] stratosphere-clients
[INFO] stratosphere-examples
[INFO] stratosphere-java-examples
[INFO] stratosphere-scala-examples
[INFO] stratosphere-test-utils
[INFO] stratosphere-tests
[INFO] stratosphere-addons
[INFO] avro
[INFO] jdbc
[INFO] spargel
[INFO] hadoop-compatibility
[INFO] stratosphere-quickstart
[INFO] quickstart-java
[INFO] quickstart-scala
[INFO] stratosphere-dist
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building stratosphere 0.5.1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ stratosphere ---
[INFO] Deleting file set: /root/git/incubator-flink/target (included: [**], excluded: [])
[INFO]
[INFO] --- maven-checkstyle-plugin:2.12.1:check (validate) @ stratosphere ---
[INFO]
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven) @ stratosphere ---
[INFO]
[INFO] --- maven-javadoc-plugin:2.9.1:jar (attach-javadocs) @ stratosphere ---
[INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[INFO]
[INFO] >>> maven-source-plugin:2.2.1:jar (attach-sources) @ stratosphere >>>
[INFO]
[INFO] --- maven-checkstyle-plugin:2.12.1:check (validate) @ stratosphere ---
[INFO]
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven) @ stratosphere ---
[INFO]
[INFO] <<< maven-source-plugin:2.2.1:jar (attach-sources) @ stratosphere <<<
[INFO]
[INFO] --- maven-source-plugin:2.2.1:jar (attach-sources) @ stratosphere ---
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building stratosphere-core 0.5.1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ stratosphere-core ---
[INFO] Deleting file set: /root/git/incubator-flink/stratosphere-core/target (included: [**], excluded: [])
[INFO]
[INFO] --- maven-checkstyle-plugin:2.12.1:check (validate) @ stratosphere-core ---
[INFO]
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven) @ stratosphere-core ---
[INFO]
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ stratosphere-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /root/git/incubator-flink/stratosphere-core/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ stratosphere-core ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 225 source files to /root/git/incubator-flink/stratosphere-core/target/classes
[WARNING] /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/core/memory/MemoryUtils.java:[27,37] warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release
[WARNING] /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/core/memory/MemoryUtils.java:[36,32] warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release
[WARNING] /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/core/memory/MemorySegment.java:[963,38] warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release
[WARNING] /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/types/Record.java:[1733,46] warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release
[WARNING] /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/core/memory/MemoryUtils.java:[38,53] warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release
[WARNING] /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/core/memory/MemoryUtils.java:[40,41] warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release
[WARNING] Note: /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/api/common/Plan.java uses unchecked or unsafe operations.
[WARNING] Note: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-resources-plugin:2.3:testResources (default-testResources) @ stratosphere-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /root/git/incubator-flink/stratosphere-core/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ stratosphere-core ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 72 source files to /root/git/incubator-flink/stratosphere-core/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.16:test (default-test) @ stratosphere-core ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ stratosphere-core ---
[INFO] Building jar: /root/git/incubator-flink/stratosphere-core/target/stratosphere-core-0.5.1.jar
[INFO]
[INFO] --- maven-jar-plugin:2.4:test-jar (default) @ stratosphere-core ---
[INFO] Building jar: /root/git/incubator-flink/stratosphere-core/target/stratosphere-core-0.5.1-tests.jar
[INFO]
[INFO] --- maven-javadoc-plugin:2.9.1:jar (attach-javadocs) @ stratosphere-core ---
[INFO]
6 warnings
[WARNING] Javadoc Warnings
[WARNING] /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/core/memory/MemorySegment.java:963: warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release
[WARNING] private static final sun.misc.Unsafe UNSAFE = MemoryUtils.UNSAFE;
[WARNING] ^
[WARNING] /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/types/Record.java:1733: warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release
[WARNING] private static final sun.misc.Unsafe UNSAFE = MemoryUtils.UNSAFE;
[WARNING] ^
[WARNING] /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/core/memory/MemoryUtils.java:27: warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release
[WARNING] public static final sun.misc.Unsafe UNSAFE = getUnsafe();
[WARNING] ^
[WARNING] /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/core/memory/MemoryUtils.java:36: warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release
[WARNING] private static sun.misc.Unsafe getUnsafe() {
[WARNING] ^
[WARNING] /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/api/common/PlanExecutor.java:58: warning - Tag @see: reference not found: eu.stratosphere.client.LocalExecutor
[WARNING] /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/api/common/PlanExecutor.java:80: warning - Tag @see: reference not found: eu.stratosphere.client.RemoteExecutor
[INFO] Fixed Javadoc frame injection vulnerability (CVE-2013-1571) in 1 files.
[INFO] Building jar: /root/git/incubator-flink/stratosphere-core/target/stratosphere-core-0.5.1-javadoc.jar
[INFO]
[INFO] >>> maven-source-plugin:2.2.1:jar (attach-sources) @ stratosphere-core >>>
[INFO]
[INFO] --- maven-checkstyle-plugin:2.12.1:check (validate) @ stratosphere-core ---
[INFO]
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven) @ stratosphere-core ---
[INFO]
[INFO] <<< maven-source-plugin:2.2.1:jar (attach-sources) @ stratosphere-core <<<
[INFO]
[INFO] --- maven-source-plugin:2.2.1:jar (attach-sources) @ stratosphere-core ---
[INFO] Building jar: /root/git/incubator-flink/stratosphere-core/target/stratosphere-core-0.5.1-sources.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building stratosphere-java 0.5.1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ stratosphere-java ---
[INFO] Deleting file set: /root/git/incubator-flink/stratosphere-java/target (included: [**], excluded: [])
[INFO]
[INFO] --- maven-checkstyle-plugin:2.12.1:check (validate) @ stratosphere-java ---
[INFO]
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven) @ stratosphere-java ---
[INFO]
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ stratosphere-java ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /root/git/incubator-flink/stratosphere-java/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ stratosphere-java ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 210 source files to /root/git/incubator-flink/stratosphere-java/target/classes
An exception has occurred in the compiler (1.6.0_30). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport)  after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report.  Thank you.
java.lang.NullPointerException
        at com.sun.tools.javac.comp.Check.checkCompatibleConcretes(Check.java:1213)
        at com.sun.tools.javac.comp.Check.checkCompatibleSupertypes(Check.java:1565)
        at com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:2674)
        at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:2628)
        at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:2584)
        at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:2584)
        at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:2564)
        at com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:1045)
        at com.sun.tools.javac.main.JavaCompiler.compile2(JavaCompiler.java:768)
        at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:730)
        at com.sun.tools.javac.main.Main.compile(Main.java:353)
        at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:115)
        at org.codehaus.plexus.compiler.javac.JavaxToolsCompiler.compileInProcess(JavaxToolsCompiler.java:126)
        at org.codehaus.plexus.compiler.javac.JavacCompiler.performCompile(JavacCompiler.java:169)
        at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:785)
        at org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:129)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] An unknown compilation problem occurred
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] stratosphere ...................................... SUCCESS [4.106s]
[INFO] stratosphere-core ................................. SUCCESS [19.613s]
[INFO] stratosphere-java ................................. FAILURE [2.690s]
[INFO] stratosphere-runtime .............................. SKIPPED
[INFO] stratosphere-compiler ............................. SKIPPED
[INFO] stratosphere-scala ................................ SKIPPED
[INFO] stratosphere-clients .............................. SKIPPED
[INFO] stratosphere-examples ............................. SKIPPED
[INFO] stratosphere-java-examples ........................ SKIPPED
[INFO] stratosphere-scala-examples ....................... SKIPPED
[INFO] stratosphere-test-utils ........................... SKIPPED
[INFO] stratosphere-tests ................................ SKIPPED
[INFO] stratosphere-addons ............................... SKIPPED
[INFO] avro .............................................. SKIPPED
[INFO] jdbc .............................................. SKIPPED
[INFO] spargel ........................................... SKIPPED
[INFO] hadoop-compatibility .............................. SKIPPED
[INFO] stratosphere-quickstart ........................... SKIPPED
[INFO] quickstart-java ................................... SKIPPED
[INFO] quickstart-scala .................................. SKIPPED
[INFO] stratosphere-dist ................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 27.573s
[INFO] Finished at: Mon Jun 30 15:51:06 CST 2014
[INFO] Final Memory: 24M/964M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project stratosphere-java: Compilation failure
[ERROR] An unknown compilation problem occurred
[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 :stratosphere-java


Any Idea?

Best Regards,
Raymond Liu


Reply | Threaded
Open this post in threaded view
|

RE: Unable to compile both trunk and 0.5.1 code

Liu, Raymond
Actually, tried jdk 1.7.0. It works. While the project readme said that Java 6, 7 or 8 both works...

Best Regards,
Raymond Liu


-----Original Message-----
From: Liu, Raymond [mailto:[hidden email]]
Sent: Monday, June 30, 2014 4:13 PM
To: [hidden email]
Subject: Unable to compile both trunk and 0.5.1 code

Hi

Just clone the code from incubator flink, I tried both trunk code and 0.5.1 release, and encounter the same problem.

# mvn --version
Apache Maven 3.0.4
Maven home: /usr/share/maven
Java version: 1.6.0_30, vendor: Sun Microsystems Inc.
Java home: /usr/java/jdk1.6.0_30/jre
Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.8.0-29-generic", arch: "amd64", family: "unix"


# mvn -DskipTests clean package
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] stratosphere
[INFO] stratosphere-core
[INFO] stratosphere-java
[INFO] stratosphere-runtime
[INFO] stratosphere-compiler
[INFO] stratosphere-scala
[INFO] stratosphere-clients
[INFO] stratosphere-examples
[INFO] stratosphere-java-examples
[INFO] stratosphere-scala-examples
[INFO] stratosphere-test-utils
[INFO] stratosphere-tests
[INFO] stratosphere-addons
[INFO] avro
[INFO] jdbc
[INFO] spargel
[INFO] hadoop-compatibility
[INFO] stratosphere-quickstart
[INFO] quickstart-java
[INFO] quickstart-scala
[INFO] stratosphere-dist
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building stratosphere 0.5.1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ stratosphere --- [INFO] Deleting file set: /root/git/incubator-flink/target (included: [**], excluded: []) [INFO] [INFO] --- maven-checkstyle-plugin:2.12.1:check (validate) @ stratosphere --- [INFO] [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven) @ stratosphere --- [INFO] [INFO] --- maven-javadoc-plugin:2.9.1:jar (attach-javadocs) @ stratosphere --- [INFO] Not executing Javadoc as the project is not a Java classpath-capable package [INFO] [INFO] >>> maven-source-plugin:2.2.1:jar (attach-sources) @ stratosphere >>> [INFO] [INFO] --- maven-checkstyle-plugin:2.12.1:check (validate) @ stratosphere --- [INFO] [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven) @ stratosphere --- [INFO] [INFO] <<< maven-source-plugin:2.2.1:jar (attach-sources) @ stratosphere <<< [INFO] [INFO] --- maven-source-plugin:2.2.1:jar (attach-sources) @ stratosphere --- [INFO] [INFO] ------------------------------------------------------------------------
[INFO] Building stratosphere-core 0.5.1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ stratosphere-core --- [INFO] Deleting file set: /root/git/incubator-flink/stratosphere-core/target (included: [**], excluded: []) [INFO] [INFO] --- maven-checkstyle-plugin:2.12.1:check (validate) @ stratosphere-core --- [INFO] [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven) @ stratosphere-core --- [INFO] [INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ stratosphere-core --- [INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /root/git/incubator-flink/stratosphere-core/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ stratosphere-core --- [INFO] Changes detected - recompiling the module!
[INFO] Compiling 225 source files to /root/git/incubator-flink/stratosphere-core/target/classes
[WARNING] /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/core/memory/MemoryUtils.java:[27,37] warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release [WARNING] /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/core/memory/MemoryUtils.java:[36,32] warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release [WARNING] /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/core/memory/MemorySegment.java:[963,38] warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release [WARNING] /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/types/Record.java:[1733,46] warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release [WARNING] /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/core/memory/MemoryUtils.java:[38,53] warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release [WARNING] /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/core/memory/MemoryUtils.java:[40,41] warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release [WARNING] Note: /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/api/common/Plan.java uses unchecked or unsafe operations.
[WARNING] Note: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-resources-plugin:2.3:testResources (default-testResources) @ stratosphere-core --- [INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /root/git/incubator-flink/stratosphere-core/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ stratosphere-core --- [INFO] Changes detected - recompiling the module!
[INFO] Compiling 72 source files to /root/git/incubator-flink/stratosphere-core/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.16:test (default-test) @ stratosphere-core --- [INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ stratosphere-core --- [INFO] Building jar: /root/git/incubator-flink/stratosphere-core/target/stratosphere-core-0.5.1.jar
[INFO]
[INFO] --- maven-jar-plugin:2.4:test-jar (default) @ stratosphere-core --- [INFO] Building jar: /root/git/incubator-flink/stratosphere-core/target/stratosphere-core-0.5.1-tests.jar
[INFO]
[INFO] --- maven-javadoc-plugin:2.9.1:jar (attach-javadocs) @ stratosphere-core --- [INFO]
6 warnings
[WARNING] Javadoc Warnings
[WARNING] /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/core/memory/MemorySegment.java:963: warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release [WARNING] private static final sun.misc.Unsafe UNSAFE = MemoryUtils.UNSAFE; [WARNING] ^ [WARNING] /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/types/Record.java:1733: warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release [WARNING] private static final sun.misc.Unsafe UNSAFE = MemoryUtils.UNSAFE; [WARNING] ^ [WARNING] /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/core/memory/MemoryUtils.java:27: warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release [WARNING] public static final sun.misc.Unsafe UNSAFE = getUnsafe(); [WARNING] ^ [WARNING] /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/core/memory/MemoryUtils.java:36: warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release [WARNING] private static sun.misc.Unsafe getUnsafe() { [WARNING] ^ [WARNING] /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/api/common/PlanExecutor.java:58: warning - Tag @see: reference not found: eu.stratosphere.client.LocalExecutor
[WARNING] /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/api/common/PlanExecutor.java:80: warning - Tag @see: reference not found: eu.stratosphere.client.RemoteExecutor
[INFO] Fixed Javadoc frame injection vulnerability (CVE-2013-1571) in 1 files.
[INFO] Building jar: /root/git/incubator-flink/stratosphere-core/target/stratosphere-core-0.5.1-javadoc.jar
[INFO]
[INFO] >>> maven-source-plugin:2.2.1:jar (attach-sources) @ stratosphere-core >>> [INFO] [INFO] --- maven-checkstyle-plugin:2.12.1:check (validate) @ stratosphere-core --- [INFO] [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven) @ stratosphere-core --- [INFO] [INFO] <<< maven-source-plugin:2.2.1:jar (attach-sources) @ stratosphere-core <<< [INFO] [INFO] --- maven-source-plugin:2.2.1:jar (attach-sources) @ stratosphere-core --- [INFO] Building jar: /root/git/incubator-flink/stratosphere-core/target/stratosphere-core-0.5.1-sources.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building stratosphere-java 0.5.1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ stratosphere-java --- [INFO] Deleting file set: /root/git/incubator-flink/stratosphere-java/target (included: [**], excluded: []) [INFO] [INFO] --- maven-checkstyle-plugin:2.12.1:check (validate) @ stratosphere-java --- [INFO] [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven) @ stratosphere-java --- [INFO] [INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ stratosphere-java --- [INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /root/git/incubator-flink/stratosphere-java/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ stratosphere-java --- [INFO] Changes detected - recompiling the module!
[INFO] Compiling 210 source files to /root/git/incubator-flink/stratosphere-java/target/classes
An exception has occurred in the compiler (1.6.0_30). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport)  after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report.  Thank you.
java.lang.NullPointerException
        at com.sun.tools.javac.comp.Check.checkCompatibleConcretes(Check.java:1213)
        at com.sun.tools.javac.comp.Check.checkCompatibleSupertypes(Check.java:1565)
        at com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:2674)
        at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:2628)
        at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:2584)
        at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:2584)
        at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:2564)
        at com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:1045)
        at com.sun.tools.javac.main.JavaCompiler.compile2(JavaCompiler.java:768)
        at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:730)
        at com.sun.tools.javac.main.Main.compile(Main.java:353)
        at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:115)
        at org.codehaus.plexus.compiler.javac.JavaxToolsCompiler.compileInProcess(JavaxToolsCompiler.java:126)
        at org.codehaus.plexus.compiler.javac.JavacCompiler.performCompile(JavacCompiler.java:169)
        at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:785)
        at org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:129)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] An unknown compilation problem occurred [INFO] 1 error [INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] stratosphere ...................................... SUCCESS [4.106s] [INFO] stratosphere-core ................................. SUCCESS [19.613s] [INFO] stratosphere-java ................................. FAILURE [2.690s] [INFO] stratosphere-runtime .............................. SKIPPED [INFO] stratosphere-compiler ............................. SKIPPED [INFO] stratosphere-scala ................................ SKIPPED [INFO] stratosphere-clients .............................. SKIPPED [INFO] stratosphere-examples ............................. SKIPPED [INFO] stratosphere-java-examples ........................ SKIPPED [INFO] stratosphere-scala-examples ....................... SKIPPED [INFO] stratosphere-test-utils ........................... SKIPPED [INFO] stratosphere-tests ................................ SKIPPED [INFO] stratosphere-addons ............................... SKIPPED [INFO] avro .............................................. SKIPPED [INFO] jdbc .............................................. SKIPPED [INFO] spargel ........................................... SKIPPED [INFO] hadoop-compatibility .............................. SKIPPED [INFO] stratosphere-quickstart ........................... SKIPPED [INFO] quickstart-java ................................... SKIPPED [INFO] quickstart-scala .................................. SKIPPED [INFO] stratosphere-dist ................................. SKIPPED [INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 27.573s
[INFO] Finished at: Mon Jun 30 15:51:06 CST 2014 [INFO] Final Memory: 24M/964M [INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project stratosphere-java: Compilation failure [ERROR] An unknown compilation problem occurred [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 :stratosphere-java


Any Idea?

Best Regards,
Raymond Liu


Reply | Threaded
Open this post in threaded view
|

Re: Unable to compile both trunk and 0.5.1 code

Robert Metzger
Hi Raymond,

its a known issue of the Oracle JDK 6 compiler. There is a issue filed at
Oracle but they don't support JDK6 anymore, so they won't fix it.
OpenJDK 6 has a fix, and all newer versions from Oracle also have fixes.

Flink/Stratosphere runs on the buggy Oracle JDK 6 version, just the
compiler won't work.

Regards,
Robert



On Mon, Jun 30, 2014 at 10:20 AM, Liu, Raymond <[hidden email]>
wrote:

> Actually, tried jdk 1.7.0. It works. While the project readme said that
> Java 6, 7 or 8 both works...
>
> Best Regards,
> Raymond Liu
>
>
> -----Original Message-----
> From: Liu, Raymond [mailto:[hidden email]]
> Sent: Monday, June 30, 2014 4:13 PM
> To: [hidden email]
> Subject: Unable to compile both trunk and 0.5.1 code
>
> Hi
>
> Just clone the code from incubator flink, I tried both trunk code and
> 0.5.1 release, and encounter the same problem.
>
> # mvn --version
> Apache Maven 3.0.4
> Maven home: /usr/share/maven
> Java version: 1.6.0_30, vendor: Sun Microsystems Inc.
> Java home: /usr/java/jdk1.6.0_30/jre
> Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version:
> "3.8.0-29-generic", arch: "amd64", family: "unix"
>
>
> # mvn -DskipTests clean package
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO]
> [INFO] stratosphere
> [INFO] stratosphere-core
> [INFO] stratosphere-java
> [INFO] stratosphere-runtime
> [INFO] stratosphere-compiler
> [INFO] stratosphere-scala
> [INFO] stratosphere-clients
> [INFO] stratosphere-examples
> [INFO] stratosphere-java-examples
> [INFO] stratosphere-scala-examples
> [INFO] stratosphere-test-utils
> [INFO] stratosphere-tests
> [INFO] stratosphere-addons
> [INFO] avro
> [INFO] jdbc
> [INFO] spargel
> [INFO] hadoop-compatibility
> [INFO] stratosphere-quickstart
> [INFO] quickstart-java
> [INFO] quickstart-scala
> [INFO] stratosphere-dist
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building stratosphere 0.5.1
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ stratosphere ---
> [INFO] Deleting file set: /root/git/incubator-flink/target (included: [**],
> excluded: []) [INFO] [INFO] --- maven-checkstyle-plugin:2.12.1:check
> (validate) @ stratosphere --- [INFO] [INFO] [INFO] ---
> maven-enforcer-plugin:1.3.1:enforce (enforce-maven) @ stratosphere ---
> [INFO] [INFO] --- maven-javadoc-plugin:2.9.1:jar (attach-javadocs) @
> stratosphere --- [INFO] Not executing Javadoc as the project is not a Java
> classpath-capable package [INFO] [INFO] >>> maven-source-plugin:2.2.1:jar
> (attach-sources) @ stratosphere >>> [INFO] [INFO] ---
> maven-checkstyle-plugin:2.12.1:check (validate) @ stratosphere --- [INFO]
> [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven) @
> stratosphere --- [INFO] [INFO] <<< maven-source-plugin:2.2.1:jar
> (attach-sources) @ stratosphere <<< [INFO] [INFO] ---
> maven-source-plugin:2.2.1:jar (attach-sources) @ stratosphere --- [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building stratosphere-core 0.5.1
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.3:clean (default-clean) @
> stratosphere-core --- [INFO] Deleting file set:
> /root/git/incubator-flink/stratosphere-core/target (included: [**],
> excluded: []) [INFO] [INFO] --- maven-checkstyle-plugin:2.12.1:check
> (validate) @ stratosphere-core --- [INFO] [INFO] [INFO] ---
> maven-enforcer-plugin:1.3.1:enforce (enforce-maven) @ stratosphere-core ---
> [INFO] [INFO] --- maven-resources-plugin:2.3:resources (default-resources)
> @ stratosphere-core --- [INFO] Using 'UTF-8' encoding to copy filtered
> resources.
> [INFO] skip non existing resourceDirectory
> /root/git/incubator-flink/stratosphere-core/src/main/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @
> stratosphere-core --- [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 225 source files to
> /root/git/incubator-flink/stratosphere-core/target/classes
> [WARNING]
> /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/core/memory/MemoryUtils.java:[27,37]
> warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a
> future release [WARNING]
> /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/core/memory/MemoryUtils.java:[36,32]
> warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a
> future release [WARNING]
> /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/core/memory/MemorySegment.java:[963,38]
> warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a
> future release [WARNING]
> /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/types/Record.java:[1733,46]
> warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a
> future release [WARNING]
> /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/core/memory/MemoryUtils.java:[38,53]
> warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a
> future release [WARNING]
> /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/core/memory/MemoryUtils.java:[40,41]
> warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a
> future release [WARNING] Note:
> /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/api/common/Plan.java
> uses unchecked or unsafe operations.
> [WARNING] Note: Recompile with -Xlint:unchecked for details.
> [INFO]
> [INFO] --- maven-resources-plugin:2.3:testResources
> (default-testResources) @ stratosphere-core --- [INFO] Using 'UTF-8'
> encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory
> /root/git/incubator-flink/stratosphere-core/src/test/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @
> stratosphere-core --- [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 72 source files to
> /root/git/incubator-flink/stratosphere-core/target/test-classes
> [INFO]
> [INFO] --- maven-surefire-plugin:2.16:test (default-test) @
> stratosphere-core --- [INFO] Tests are skipped.
> [INFO]
> [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ stratosphere-core ---
> [INFO] Building jar:
> /root/git/incubator-flink/stratosphere-core/target/stratosphere-core-0.5.1.jar
> [INFO]
> [INFO] --- maven-jar-plugin:2.4:test-jar (default) @ stratosphere-core ---
> [INFO] Building jar:
> /root/git/incubator-flink/stratosphere-core/target/stratosphere-core-0.5.1-tests.jar
> [INFO]
> [INFO] --- maven-javadoc-plugin:2.9.1:jar (attach-javadocs) @
> stratosphere-core --- [INFO]
> 6 warnings
> [WARNING] Javadoc Warnings
> [WARNING]
> /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/core/memory/MemorySegment.java:963:
> warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a
> future release [WARNING] private static final sun.misc.Unsafe UNSAFE =
> MemoryUtils.UNSAFE; [WARNING] ^ [WARNING]
> /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/types/Record.java:1733:
> warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a
> future release [WARNING] private static final sun.misc.Unsafe UNSAFE =
> MemoryUtils.UNSAFE; [WARNING] ^ [WARNING]
> /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/core/memory/MemoryUtils.java:27:
> warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a
> future release [WARNING] public static final sun.misc.Unsafe UNSAFE =
> getUnsafe(); [WARNING] ^ [WARNING]
> /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/core/memory/MemoryUtils.java:36:
> warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a
> future release [WARNING] private static sun.misc.Unsafe getUnsafe() {
> [WARNING] ^ [WARNING]
> /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/api/common/PlanExecutor.java:58:
> warning - Tag @see: reference not found:
> eu.stratosphere.client.LocalExecutor
> [WARNING]
> /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/api/common/PlanExecutor.java:80:
> warning - Tag @see: reference not found:
> eu.stratosphere.client.RemoteExecutor
> [INFO] Fixed Javadoc frame injection vulnerability (CVE-2013-1571) in 1
> files.
> [INFO] Building jar:
> /root/git/incubator-flink/stratosphere-core/target/stratosphere-core-0.5.1-javadoc.jar
> [INFO]
> [INFO] >>> maven-source-plugin:2.2.1:jar (attach-sources) @
> stratosphere-core >>> [INFO] [INFO] ---
> maven-checkstyle-plugin:2.12.1:check (validate) @ stratosphere-core ---
> [INFO] [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce
> (enforce-maven) @ stratosphere-core --- [INFO] [INFO] <<<
> maven-source-plugin:2.2.1:jar (attach-sources) @ stratosphere-core <<<
> [INFO] [INFO] --- maven-source-plugin:2.2.1:jar (attach-sources) @
> stratosphere-core --- [INFO] Building jar:
> /root/git/incubator-flink/stratosphere-core/target/stratosphere-core-0.5.1-sources.jar
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building stratosphere-java 0.5.1
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.3:clean (default-clean) @
> stratosphere-java --- [INFO] Deleting file set:
> /root/git/incubator-flink/stratosphere-java/target (included: [**],
> excluded: []) [INFO] [INFO] --- maven-checkstyle-plugin:2.12.1:check
> (validate) @ stratosphere-java --- [INFO] [INFO] [INFO] ---
> maven-enforcer-plugin:1.3.1:enforce (enforce-maven) @ stratosphere-java ---
> [INFO] [INFO] --- maven-resources-plugin:2.3:resources (default-resources)
> @ stratosphere-java --- [INFO] Using 'UTF-8' encoding to copy filtered
> resources.
> [INFO] skip non existing resourceDirectory
> /root/git/incubator-flink/stratosphere-java/src/main/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @
> stratosphere-java --- [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 210 source files to
> /root/git/incubator-flink/stratosphere-java/target/classes
> An exception has occurred in the compiler (1.6.0_30). Please file a bug at
> the Java Developer Connection (http://java.sun.com/webapps/bugreport)
>  after checking the Bug Parade for duplicates. Include your program and the
> following diagnostic in your report.  Thank you.
> java.lang.NullPointerException
>         at
> com.sun.tools.javac.comp.Check.checkCompatibleConcretes(Check.java:1213)
>         at
> com.sun.tools.javac.comp.Check.checkCompatibleSupertypes(Check.java:1565)
>         at com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:2674)
>         at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:2628)
>         at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:2584)
>         at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:2584)
>         at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:2564)
>         at
> com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:1045)
>         at
> com.sun.tools.javac.main.JavaCompiler.compile2(JavaCompiler.java:768)
>         at
> com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:730)
>         at com.sun.tools.javac.main.Main.compile(Main.java:353)
>         at
> com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:115)
>         at
> org.codehaus.plexus.compiler.javac.JavaxToolsCompiler.compileInProcess(JavaxToolsCompiler.java:126)
>         at
> org.codehaus.plexus.compiler.javac.JavacCompiler.performCompile(JavacCompiler.java:169)
>         at
> org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:785)
>         at
> org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:129)
>         at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>         at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>         at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>         at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>         at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>         at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>         at
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>         at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>         at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>         at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>         at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] An unknown compilation problem occurred [INFO] 1 error [INFO]
> -------------------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] stratosphere ...................................... SUCCESS
> [4.106s] [INFO] stratosphere-core ................................. SUCCESS
> [19.613s] [INFO] stratosphere-java .................................
> FAILURE [2.690s] [INFO] stratosphere-runtime ..............................
> SKIPPED [INFO] stratosphere-compiler ............................. SKIPPED
> [INFO] stratosphere-scala ................................ SKIPPED [INFO]
> stratosphere-clients .............................. SKIPPED [INFO]
> stratosphere-examples ............................. SKIPPED [INFO]
> stratosphere-java-examples ........................ SKIPPED [INFO]
> stratosphere-scala-examples ....................... SKIPPED [INFO]
> stratosphere-test-utils ........................... SKIPPED [INFO]
> stratosphere-tests ................................ SKIPPED [INFO]
> stratosphere-addons ............................... SKIPPED [INFO] avro
> .............................................. SKIPPED [INFO] jdbc
> .............................................. SKIPPED [INFO] spargel
> ........................................... SKIPPED [INFO]
> hadoop-compatibility .............................. SKIPPED [INFO]
> stratosphere-quickstart ........................... SKIPPED [INFO]
> quickstart-java ................................... SKIPPED [INFO]
> quickstart-scala .................................. SKIPPED [INFO]
> stratosphere-dist ................................. SKIPPED [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 27.573s
> [INFO] Finished at: Mon Jun 30 15:51:06 CST 2014 [INFO] Final Memory:
> 24M/964M [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
> (default-compile) on project stratosphere-java: Compilation failure [ERROR]
> An unknown compilation problem occurred [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 :stratosphere-java
>
>
> Any Idea?
>
> Best Regards,
> Raymond Liu
>
>
>
Reply | Threaded
Open this post in threaded view
|

RE: Unable to compile both trunk and 0.5.1 code

Liu, Raymond
Great, Thanks for the reply :)

Best Regards,
Raymond Liu


-----Original Message-----
From: Robert Metzger [mailto:[hidden email]]
Sent: Monday, June 30, 2014 4:26 PM
To: [hidden email]
Subject: Re: Unable to compile both trunk and 0.5.1 code

Hi Raymond,

its a known issue of the Oracle JDK 6 compiler. There is a issue filed at Oracle but they don't support JDK6 anymore, so they won't fix it.
OpenJDK 6 has a fix, and all newer versions from Oracle also have fixes.

Flink/Stratosphere runs on the buggy Oracle JDK 6 version, just the compiler won't work.

Regards,
Robert



On Mon, Jun 30, 2014 at 10:20 AM, Liu, Raymond <[hidden email]>
wrote:

> Actually, tried jdk 1.7.0. It works. While the project readme said
> that Java 6, 7 or 8 both works...
>
> Best Regards,
> Raymond Liu
>
>
> -----Original Message-----
> From: Liu, Raymond [mailto:[hidden email]]
> Sent: Monday, June 30, 2014 4:13 PM
> To: [hidden email]
> Subject: Unable to compile both trunk and 0.5.1 code
>
> Hi
>
> Just clone the code from incubator flink, I tried both trunk code and
> 0.5.1 release, and encounter the same problem.
>
> # mvn --version
> Apache Maven 3.0.4
> Maven home: /usr/share/maven
> Java version: 1.6.0_30, vendor: Sun Microsystems Inc.
> Java home: /usr/java/jdk1.6.0_30/jre
> Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version:
> "3.8.0-29-generic", arch: "amd64", family: "unix"
>
>
> # mvn -DskipTests clean package
> [INFO] Scanning for projects...
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Reactor Build Order:
> [INFO]
> [INFO] stratosphere
> [INFO] stratosphere-core
> [INFO] stratosphere-java
> [INFO] stratosphere-runtime
> [INFO] stratosphere-compiler
> [INFO] stratosphere-scala
> [INFO] stratosphere-clients
> [INFO] stratosphere-examples
> [INFO] stratosphere-java-examples
> [INFO] stratosphere-scala-examples
> [INFO] stratosphere-test-utils
> [INFO] stratosphere-tests
> [INFO] stratosphere-addons
> [INFO] avro
> [INFO] jdbc
> [INFO] spargel
> [INFO] hadoop-compatibility
> [INFO] stratosphere-quickstart
> [INFO] quickstart-java
> [INFO] quickstart-scala
> [INFO] stratosphere-dist
> [INFO]
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Building stratosphere 0.5.1
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO]
> [INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ stratosphere
> --- [INFO] Deleting file set: /root/git/incubator-flink/target
> (included: [**],
> excluded: []) [INFO] [INFO] --- maven-checkstyle-plugin:2.12.1:check
> (validate) @ stratosphere --- [INFO] [INFO] [INFO] ---
> maven-enforcer-plugin:1.3.1:enforce (enforce-maven) @ stratosphere ---
> [INFO] [INFO] --- maven-javadoc-plugin:2.9.1:jar (attach-javadocs) @
> stratosphere --- [INFO] Not executing Javadoc as the project is not a
> Java classpath-capable package [INFO] [INFO] >>>
> maven-source-plugin:2.2.1:jar
> (attach-sources) @ stratosphere >>> [INFO] [INFO] ---
> maven-checkstyle-plugin:2.12.1:check (validate) @ stratosphere ---
> [INFO] [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce
> (enforce-maven) @ stratosphere --- [INFO] [INFO] <<<
> maven-source-plugin:2.2.1:jar
> (attach-sources) @ stratosphere <<< [INFO] [INFO] ---
> maven-source-plugin:2.2.1:jar (attach-sources) @ stratosphere ---
> [INFO] [INFO]
> ----------------------------------------------------------------------
> -- [INFO] Building stratosphere-core 0.5.1 [INFO]
> ----------------------------------------------------------------------
> --
> [INFO]
> [INFO] --- maven-clean-plugin:2.3:clean (default-clean) @
> stratosphere-core --- [INFO] Deleting file set:
> /root/git/incubator-flink/stratosphere-core/target (included: [**],
> excluded: []) [INFO] [INFO] --- maven-checkstyle-plugin:2.12.1:check
> (validate) @ stratosphere-core --- [INFO] [INFO] [INFO] ---
> maven-enforcer-plugin:1.3.1:enforce (enforce-maven) @
> stratosphere-core --- [INFO] [INFO] ---
> maven-resources-plugin:2.3:resources (default-resources) @
> stratosphere-core --- [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory
> /root/git/incubator-flink/stratosphere-core/src/main/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @
> stratosphere-core --- [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 225 source files to
> /root/git/incubator-flink/stratosphere-core/target/classes
> [WARNING]
> /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosph
> ere/core/memory/MemoryUtils.java:[27,37]
> warning: sun.misc.Unsafe is Sun proprietary API and may be removed in
> a future release [WARNING]
> /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosph
> ere/core/memory/MemoryUtils.java:[36,32]
> warning: sun.misc.Unsafe is Sun proprietary API and may be removed in
> a future release [WARNING]
> /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosph
> ere/core/memory/MemorySegment.java:[963,38]
> warning: sun.misc.Unsafe is Sun proprietary API and may be removed in
> a future release [WARNING]
> /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosph
> ere/types/Record.java:[1733,46]
> warning: sun.misc.Unsafe is Sun proprietary API and may be removed in
> a future release [WARNING]
> /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosph
> ere/core/memory/MemoryUtils.java:[38,53]
> warning: sun.misc.Unsafe is Sun proprietary API and may be removed in
> a future release [WARNING]
> /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosph
> ere/core/memory/MemoryUtils.java:[40,41]
> warning: sun.misc.Unsafe is Sun proprietary API and may be removed in
> a future release [WARNING] Note:
> /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosph
> ere/api/common/Plan.java
> uses unchecked or unsafe operations.
> [WARNING] Note: Recompile with -Xlint:unchecked for details.
> [INFO]
> [INFO] --- maven-resources-plugin:2.3:testResources
> (default-testResources) @ stratosphere-core --- [INFO] Using 'UTF-8'
> encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory
> /root/git/incubator-flink/stratosphere-core/src/test/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile)
> @ stratosphere-core --- [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 72 source files to
> /root/git/incubator-flink/stratosphere-core/target/test-classes
> [INFO]
> [INFO] --- maven-surefire-plugin:2.16:test (default-test) @
> stratosphere-core --- [INFO] Tests are skipped.
> [INFO]
> [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ stratosphere-core
> --- [INFO] Building jar:
> /root/git/incubator-flink/stratosphere-core/target/stratosphere-core-0
> .5.1.jar
> [INFO]
> [INFO] --- maven-jar-plugin:2.4:test-jar (default) @ stratosphere-core
> --- [INFO] Building jar:
> /root/git/incubator-flink/stratosphere-core/target/stratosphere-core-0
> .5.1-tests.jar
> [INFO]
> [INFO] --- maven-javadoc-plugin:2.9.1:jar (attach-javadocs) @
> stratosphere-core --- [INFO]
> 6 warnings
> [WARNING] Javadoc Warnings
> [WARNING]
> /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/core/memory/MemorySegment.java:963:
> warning: sun.misc.Unsafe is Sun proprietary API and may be removed in
> a future release [WARNING] private static final sun.misc.Unsafe UNSAFE
> = MemoryUtils.UNSAFE; [WARNING] ^ [WARNING]
> /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/types/Record.java:1733:
> warning: sun.misc.Unsafe is Sun proprietary API and may be removed in
> a future release [WARNING] private static final sun.misc.Unsafe UNSAFE
> = MemoryUtils.UNSAFE; [WARNING] ^ [WARNING]
> /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/core/memory/MemoryUtils.java:27:
> warning: sun.misc.Unsafe is Sun proprietary API and may be removed in
> a future release [WARNING] public static final sun.misc.Unsafe UNSAFE
> = getUnsafe(); [WARNING] ^ [WARNING]
> /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/core/memory/MemoryUtils.java:36:
> warning: sun.misc.Unsafe is Sun proprietary API and may be removed in
> a future release [WARNING] private static sun.misc.Unsafe getUnsafe()
> { [WARNING] ^ [WARNING]
> /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/api/common/PlanExecutor.java:58:
> warning - Tag @see: reference not found:
> eu.stratosphere.client.LocalExecutor
> [WARNING]
> /root/git/incubator-flink/stratosphere-core/src/main/java/eu/stratosphere/api/common/PlanExecutor.java:80:
> warning - Tag @see: reference not found:
> eu.stratosphere.client.RemoteExecutor
> [INFO] Fixed Javadoc frame injection vulnerability (CVE-2013-1571) in
> 1 files.
> [INFO] Building jar:
> /root/git/incubator-flink/stratosphere-core/target/stratosphere-core-0
> .5.1-javadoc.jar
> [INFO]
> [INFO] >>> maven-source-plugin:2.2.1:jar (attach-sources) @
> stratosphere-core >>> [INFO] [INFO] ---
> maven-checkstyle-plugin:2.12.1:check (validate) @ stratosphere-core
> --- [INFO] [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce
> (enforce-maven) @ stratosphere-core --- [INFO] [INFO] <<<
> maven-source-plugin:2.2.1:jar (attach-sources) @ stratosphere-core <<<
> [INFO] [INFO] --- maven-source-plugin:2.2.1:jar (attach-sources) @
> stratosphere-core --- [INFO] Building jar:
> /root/git/incubator-flink/stratosphere-core/target/stratosphere-core-0
> .5.1-sources.jar
> [INFO]
> [INFO]
> ----------------------------------------------------------------------
> -- [INFO] Building stratosphere-java 0.5.1 [INFO]
> ----------------------------------------------------------------------
> --
> [INFO]
> [INFO] --- maven-clean-plugin:2.3:clean (default-clean) @
> stratosphere-java --- [INFO] Deleting file set:
> /root/git/incubator-flink/stratosphere-java/target (included: [**],
> excluded: []) [INFO] [INFO] --- maven-checkstyle-plugin:2.12.1:check
> (validate) @ stratosphere-java --- [INFO] [INFO] [INFO] ---
> maven-enforcer-plugin:1.3.1:enforce (enforce-maven) @
> stratosphere-java --- [INFO] [INFO] ---
> maven-resources-plugin:2.3:resources (default-resources) @
> stratosphere-java --- [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory
> /root/git/incubator-flink/stratosphere-java/src/main/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @
> stratosphere-java --- [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 210 source files to
> /root/git/incubator-flink/stratosphere-java/target/classes
> An exception has occurred in the compiler (1.6.0_30). Please file a
> bug at the Java Developer Connection
> (http://java.sun.com/webapps/bugreport)
>  after checking the Bug Parade for duplicates. Include your program
> and the following diagnostic in your report.  Thank you.
> java.lang.NullPointerException
>         at
> com.sun.tools.javac.comp.Check.checkCompatibleConcretes(Check.java:1213)
>         at
> com.sun.tools.javac.comp.Check.checkCompatibleSupertypes(Check.java:1565)
>         at com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:2674)
>         at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:2628)
>         at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:2584)
>         at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:2584)
>         at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:2564)
>         at
> com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:1045)
>         at
> com.sun.tools.javac.main.JavaCompiler.compile2(JavaCompiler.java:768)
>         at
> com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:730)
>         at com.sun.tools.javac.main.Main.compile(Main.java:353)
>         at
> com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:115)
>         at
> org.codehaus.plexus.compiler.javac.JavaxToolsCompiler.compileInProcess(JavaxToolsCompiler.java:126)
>         at
> org.codehaus.plexus.compiler.javac.JavacCompiler.performCompile(JavacCompiler.java:169)
>         at
> org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:785)
>         at
> org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:129)
>         at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>         at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>         at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>         at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>         at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>         at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>         at
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>         at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>         at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>         at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>         at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:3
> 52) [INFO]
> -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] An unknown compilation problem occurred [INFO] 1 error [INFO]
> -------------------------------------------------------------
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Reactor Summary:
> [INFO]
> [INFO] stratosphere ...................................... SUCCESS
> [4.106s] [INFO] stratosphere-core .................................
> SUCCESS [19.613s] [INFO] stratosphere-java .................................
> FAILURE [2.690s] [INFO] stratosphere-runtime ..............................
> SKIPPED [INFO] stratosphere-compiler .............................
> SKIPPED [INFO] stratosphere-scala ................................
> SKIPPED [INFO] stratosphere-clients ..............................
> SKIPPED [INFO] stratosphere-examples .............................
> SKIPPED [INFO] stratosphere-java-examples ........................
> SKIPPED [INFO] stratosphere-scala-examples .......................
> SKIPPED [INFO] stratosphere-test-utils ...........................
> SKIPPED [INFO] stratosphere-tests ................................
> SKIPPED [INFO] stratosphere-addons ...............................
> SKIPPED [INFO] avro ..............................................
> SKIPPED [INFO] jdbc ..............................................
> SKIPPED [INFO] spargel ...........................................
> SKIPPED [INFO] hadoop-compatibility ..............................
> SKIPPED [INFO] stratosphere-quickstart ...........................
> SKIPPED [INFO] quickstart-java ...................................
> SKIPPED [INFO] quickstart-scala ..................................
> SKIPPED [INFO] stratosphere-dist .................................
> SKIPPED [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] BUILD FAILURE
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Total time: 27.573s
> [INFO] Finished at: Mon Jun 30 15:51:06 CST 2014 [INFO] Final Memory:
> 24M/964M [INFO]
> ----------------------------------------------------------------------
> --
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
> (default-compile) on project stratosphere-java: Compilation failure
> [ERROR] An unknown compilation problem occurred [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 :stratosphere-java
>
>
> Any Idea?
>
> Best Regards,
> Raymond Liu
>
>
>