Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-10278

impalad_executor Docker container fails to find JniUtil

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • Impala 4.0.0
    • Impala 4.0.0
    • Frontend
    • None

    Description

      When testing with the impalad_executor Docker container, I ran into a ClassNotFound on startup:

      java.lang.NoClassDefFoundError: org/apache/impala/common/JniUtil
      Caused by: java.lang.ClassNotFoundException: org.apache.impala.common.JniUtil
      	at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
      	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
      F1023 02:31:09.092646     1 init.cc:368] Failed to find JniUtil class.
      . Impalad exiting.

      This may be related to the docker size optimizations from https://issues.apache.org/jira/browse/IMPALA-10016 . JniUtil is something that would come from the frontend jar, which is not included for the executor image right now.

      Using a small change that uses one coord_exec and two executors (https://gerrit.cloudera.org/#/c/16637/), this reproduces on the existing docker job: https://jenkins.impala.io/job/ubuntu-16.04-dockerised-tests/

      Attachments

        Issue Links

          Activity

            People

              joemcdonnell Joe McDonnell
              joemcdonnell Joe McDonnell
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: