Joe McDonnell created IMPALA-10278:
--------------------------------------

             Summary: impalad_executor Docker container fails to find JniUtil
                 Key: IMPALA-10278
                 URL: https://issues.apache.org/jira/browse/IMPALA-10278
             Project: IMPALA
          Issue Type: Bug
          Components: Frontend
    Affects Versions: Impala 4.0
            Reporter: Joe McDonnell


When testing with the impalad_executor Docker container, I ran into a 
ClassNotFound on startup:
{noformat}
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.{noformat}
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/]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to