Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-6313

runMobileGamingJavaDirect flaky FAILED_TO_LOAD_NATIVE_LIBRARY snappy-java

Details

    • Bug
    • Status: Open
    • P3
    • Resolution: Unresolved
    • None
    • None
    • examples-java
    • None

    Description

      03:06:09 java.io.FileNotFoundException: /tmp/groovy-generated-2817251679708289106-tmpdir/.m2/repository/org/xerial/snappy/snappy-java/1.1.4/snappy-java-1.1.4.jar (No such file or directory)
      03:06:09 java.lang.NullPointerException
      03:06:09 	at org.xerial.snappy.SnappyLoader.extractLibraryFile(SnappyLoader.java:243)
      03:06:09 	at org.xerial.snappy.SnappyLoader.findNativeLibrary(SnappyLoader.java:355)
      03:06:09 	at org.xerial.snappy.SnappyLoader.loadNativeLibrary(SnappyLoader.java:176)
      03:06:09 	at org.xerial.snappy.SnappyLoader.loadSnappyApi(SnappyLoader.java:154)
      03:06:09 	at org.xerial.snappy.Snappy.<clinit>(Snappy.java:47)
      03:06:09 	at org.xerial.snappy.SnappyOutputStream.<init>(SnappyOutputStream.java:97)
      03:06:09 	at org.xerial.snappy.SnappyOutputStream.<init>(SnappyOutputStream.java:89)
      03:06:09 	at org.xerial.snappy.SnappyOutputStream.<init>(SnappyOutputStream.java:79)
      03:06:09 	at org.apache.beam.sdk.util.SerializableUtils.serializeToByteArray(SerializableUtils.java:50)
      03:06:09 	at org.apache.beam.sdk.util.SerializableUtils.clone(SerializableUtils.java:100)
      03:06:09 	at org.apache.beam.sdk.util.SerializableUtils.ensureSerializable(SerializableUtils.java:79)
      03:06:09 	at org.apache.beam.sdk.io.Read$Unbounded.<init>(Read.java:129)
      03:06:09 	at org.apache.beam.sdk.io.Read$Unbounded.<init>(Read.java:124)
      03:06:09 	at org.apache.beam.sdk.io.Read.from(Read.java:56)
      03:06:09 	at org.apache.beam.sdk.io.gcp.pubsub.PubsubUnboundedSource.expand(PubsubUnboundedSource.java:1285)
      03:06:09 	at org.apache.beam.sdk.io.gcp.pubsub.PubsubUnboundedSource.expand(PubsubUnboundedSource.java:112)
      03:06:09 	at org.apache.beam.sdk.Pipeline.applyInternal(Pipeline.java:537)
      03:06:09 	at org.apache.beam.sdk.Pipeline.applyTransform(Pipeline.java:471)
      03:06:09 	at org.apache.beam.sdk.values.PBegin.apply(PBegin.java:44)
      03:06:09 	at org.apache.beam.sdk.io.gcp.pubsub.PubsubIO$Read.expand(PubsubIO.java:715)
      03:06:09 	at org.apache.beam.sdk.io.gcp.pubsub.PubsubIO$Read.expand(PubsubIO.java:532)
      03:06:09 	at org.apache.beam.sdk.Pipeline.applyInternal(Pipeline.java:537)
      03:06:09 	at org.apache.beam.sdk.Pipeline.applyTransform(Pipeline.java:471)
      03:06:09 	at org.apache.beam.sdk.values.PBegin.apply(PBegin.java:44)
      03:06:09 	at org.apache.beam.sdk.Pipeline.apply(Pipeline.java:167)
      03:06:09 	at org.apache.beam.examples.complete.game.LeaderBoard.main(LeaderBoard.java:205)
      03:06:09 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      03:06:09 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      03:06:09 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      03:06:09 	at java.lang.reflect.Method.invoke(Method.java:498)
      03:06:09 	at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:282)
      03:06:09 	at java.lang.Thread.run(Thread.java:748)
      03:06:09 [ERROR] Failed command
      03:06:09 [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java (default-cli) on project word-count-beam: An exception occured while executing the Java class. [FAILED_TO_LOAD_NATIVE_LIBRARY] null -> [Help 1]
      03:06:09 [ERROR] 
      03:06:09 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      03:06:09 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      03:06:09 [ERROR] 
      03:06:09 [ERROR] For more information about the errors and possible solutions, please read the following articles:
      03:06:09 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
      03:06:09 :beam-runners-direct-java:runMobileGamingJavaDirect (Thread[Task worker for ':' Thread 5,5,main]) completed. Took 5 mins 39.017 secs.
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            apilloud Andrew Pilloud
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: