Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
Impala 4.0.0
-
None
-
ghx-label-5
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
- relates to
-
IMPALA-10297 Use reduced set of jars for impalad_executor Docker image
- Open