git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems building Arrow Java


Is anyone else having issues building Arrow Java? I'm trying to run the integration tests locally, but can't figure out why `mvn install` is failing. I see a number of warnings, and a few checkstyle errors, but nothing besides that stands out.

Thanks,
Paul

*~/dev/arrow/java*$ java --version
Picked up JAVA_TOOL_OPTIONS:
openjdk 10.0.2 2018-07-17
OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4)
OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4, mixed mode)
*~/dev/arrow/java*$ mvn --version
Picked up JAVA_TOOL_OPTIONS:
*Apache Maven 3.5.2*
Maven home: /usr/share/maven
Java version: 10.0.2, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-11-openjdk-amd64
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.15.0-43-generic", arch: "amd64", family: "unix"
***~/dev/arrow/java*$ mvn install -e
Picked up JAVA_TOOL_OPTIONS:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[...lots of info-level logs...]
[*INFO*] Reading existing properties file [/home/ptaylor/dev/arrow/java/format/target/classes/git.properties] (for module Arrow Format)...
[*INFO*] Properties file [/home/ptaylor/dev/arrow/java/format/target/classes/git.properties] is up-to-date (for module Arrow Format)...
[*INFO*]
[*INFO*]*--- *maven-dependency-plugin:3.0.1:copy  *(copy-flatc)*  @arrow-format*---*
[*INFO*] Configured Artifact: com.github.icexelloss:flatc-linux-x86_64:1.9.0:exe
[*INFO*] Copying flatc-linux-x86_64-1.9.0.exe to /home/ptaylor/dev/arrow/java/format/target/flatc-linux-x86_64-1.9.0.exe
[*INFO*]
[*INFO*]*--- *exec-maven-plugin:1.4.0:exec  *(script-chmod)*  @arrow-format*---*
[*INFO*]
[*INFO*]*--- *exec-maven-plugin:1.4.0:exec  *(default)*  @arrow-format*---*
[*INFO*]
[*INFO*]*--- *build-helper-maven-plugin:1.9.1:add-source  *(add-generated-sources-to-classpath)*  @arrow-format*---*
[*INFO*] Source directory: /home/ptaylor/dev/arrow/java/format/target/generated-sources/flatc added.
[*INFO*]
[*INFO*]*--- *license-maven-plugin:2.3:format  *(default)*  @arrow-format*---*
[*INFO*] Updating license headers...
[*INFO*]
[*INFO*]*--- *maven-remote-resources-plugin:1.5:process  *(process-resource-bundles)*  @arrow-format*---*
[*INFO*]
[*INFO*]*--- *maven-resources-plugin:2.6:resources  *(default-resources)*  @arrow-format*---*
[*INFO*] Using 'UTF-8' encoding to copy filtered resources.
[*INFO*] skip non existing resourceDirectory /home/ptaylor/dev/arrow/java/format/src/main/resources
[*INFO*] Copying 3 resources
[*INFO*]
[*INFO*]*--- *maven-compiler-plugin:3.6.2:compile  *(default-compile)*  @arrow-format*---*
[*INFO*] Compiling 39 source files to /home/ptaylor/dev/arrow/java/format/target/classes
[*WARNING*] Unable to autodetect 'javac' path, using 'javac' from the environment.
[*INFO*]*------------------------------------------------------------------------*
[*INFO*]*Reactor Summary:*
[*INFO*]
[*INFO*] Apache Arrow Java Root POM .........................*SUCCESS*  [  2.542 s]
[*INFO*] Arrow Format .......................................*FAILURE*  [  1.154 s]
[*INFO*] Arrow Memory .......................................*SKIPPED*
[*INFO*] Arrow Vectors ......................................*SKIPPED*
[*INFO*] Arrow Tools ........................................*SKIPPED*
[*INFO*] Arrow JDBC Adapter .................................*SKIPPED*
[*INFO*] Arrow Plasma Client ................................*SKIPPED*
[*INFO*] Arrow Flight .......................................*SKIPPED*
[*INFO*]*------------------------------------------------------------------------*
[*INFO*]*BUILD FAILURE*
[*INFO*]*------------------------------------------------------------------------*
[*INFO*] Total time: 3.885 s
[*INFO*] Finished at: 2018-12-30T10:16:26-08:00
[*INFO*] Final Memory: 67M/280M
[*INFO*]*------------------------------------------------------------------------*
[*ERROR*] Failed to execute goalorg.apache.maven.plugins:maven-compiler-plugin:3.6.2:compile  *(default-compile)*  on projectarrow-format:*Compilation failure*  ->*[Help 1]*
*org.apache.maven.lifecycle.LifecycleExecutionException*:*Failed to execute goal **org.apache.maven.plugins:maven-compiler-plugin:3.6.2:compile* *(default-compile)* on projectarrow-format:*Compilation failure*
    *at*  org.apache.maven.lifecycle.internal.MojoExecutor.execute (*MojoExecutor.java:213*)
    *at*  org.apache.maven.lifecycle.internal.MojoExecutor.execute (*MojoExecutor.java:154*)
    *at*  org.apache.maven.lifecycle.internal.MojoExecutor.execute (*MojoExecutor.java:146*)
    *at*  org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (*LifecycleModuleBuilder.java:117*)
    *at*  org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (*LifecycleModuleBuilder.java:81*)
    *at*  org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (*SingleThreadedBuilder.java:51*)
    *at*  org.apache.maven.lifecycle.internal.LifecycleStarter.execute (*LifecycleStarter.java:128*)
    *at*  org.apache.maven.DefaultMaven.doExecute (*DefaultMaven.java:309*)
    *at*  org.apache.maven.DefaultMaven.doExecute (*DefaultMaven.java:194*)
    *at*  org.apache.maven.DefaultMaven.execute (*DefaultMaven.java:107*)
    *at*  org.apache.maven.cli.MavenCli.execute (*MavenCli.java:955*)
    *at*  org.apache.maven.cli.MavenCli.doMain (*MavenCli.java:290*)
    *at*  org.apache.maven.cli.MavenCli.main (*MavenCli.java:194*)
    *at*  jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (*Native Method*)
    *at*  jdk.internal.reflect.NativeMethodAccessorImpl.invoke (*NativeMethodAccessorImpl.java:62*)
    *at*  jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (*DelegatingMethodAccessorImpl.java:43*)
    *at*  java.lang.reflect.Method.invoke (*Method.java:564*)
    *at*  org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (*Launcher.java:289*)
    *at*  org.codehaus.plexus.classworlds.launcher.Launcher.launch (*Launcher.java:229*)
    *at*  org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (*Launcher.java:415*)
    *at*  org.codehaus.plexus.classworlds.launcher.Launcher.main (*Launcher.java:356*)
*Caused by*: org.apache.maven.plugin.compiler.CompilationFailureException:*Compilation failure*
    *at*  org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute (*AbstractCompilerMojo.java:1042*)
    *at*  org.apache.maven.plugin.compiler.CompilerMojo.execute (*CompilerMojo.java:158*)
    *at*  org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (*DefaultBuildPluginManager.java:134*)
    *at*  org.apache.maven.lifecycle.internal.MojoExecutor.execute (*MojoExecutor.java:208*)
    *at*  org.apache.maven.lifecycle.internal.MojoExecutor.execute (*MojoExecutor.java:154*)
    *at*  org.apache.maven.lifecycle.internal.MojoExecutor.execute (*MojoExecutor.java:146*)
    *at*  org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (*LifecycleModuleBuilder.java:117*)
    *at*  org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (*LifecycleModuleBuilder.java:81*)
    *at*  org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (*SingleThreadedBuilder.java:51*)
    *at*  org.apache.maven.lifecycle.internal.LifecycleStarter.execute (*LifecycleStarter.java:128*)
    *at*  org.apache.maven.DefaultMaven.doExecute (*DefaultMaven.java:309*)
    *at*  org.apache.maven.DefaultMaven.doExecute (*DefaultMaven.java:194*)
    *at*  org.apache.maven.DefaultMaven.execute (*DefaultMaven.java:107*)
    *at*  org.apache.maven.cli.MavenCli.execute (*MavenCli.java:955*)
    *at*  org.apache.maven.cli.MavenCli.doMain (*MavenCli.java:290*)
    *at*  org.apache.maven.cli.MavenCli.main (*MavenCli.java:194*)
    *at*  jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (*Native Method*)
    *at*  jdk.internal.reflect.NativeMethodAccessorImpl.invoke (*NativeMethodAccessorImpl.java:62*)
    *at*  jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (*DelegatingMethodAccessorImpl.java:43*)
    *at*  java.lang.reflect.Method.invoke (*Method.java:564*)
    *at*  org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (*Launcher.java:289*)
    *at*  org.codehaus.plexus.classworlds.launcher.Launcher.launch (*Launcher.java:229*)
    *at*  org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (*Launcher.java:415*)
    *at*  org.codehaus.plexus.classworlds.launcher.Launcher.main (*Launcher.java:356*)