You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Joe McDonnell (Jira)" <ji...@apache.org> on 2020/10/23 21:56:00 UTC
[jira] [Resolved] (IMPALA-10278) impalad_executor Docker container
fails to find JniUtil
[ https://issues.apache.org/jira/browse/IMPALA-10278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joe McDonnell resolved IMPALA-10278.
------------------------------------
Fix Version/s: Impala 4.0
Resolution: Fixed
> 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
> Assignee: Joe McDonnell
> Priority: Blocker
> Fix For: Impala 4.0
>
>
> 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)