You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Laszlo Gaal (Jira)" <ji...@apache.org> on 2026/08/04 23:59:00 UTC
[jira] [Work started] (IMPALA-15230) Docker image builds fail if IMPALA_HOME contains the word "tests"
[ https://issues.apache.org/jira/browse/IMPALA-15230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on IMPALA-15230 started by Laszlo Gaal.
--------------------------------------------
> Docker image builds fail if IMPALA_HOME contains the word "tests"
> -----------------------------------------------------------------
>
> Key: IMPALA-15230
> URL: https://issues.apache.org/jira/browse/IMPALA-15230
> Project: IMPALA
> Issue Type: Bug
> Components: Infrastructure
> Affects Versions: Impala 5.0.0
> Reporter: Laszlo Gaal
> Assignee: Laszlo Gaal
> Priority: Major
>
> The context builder script, which runs during Impala container image builds, contains a meticulous check to verify that all the jars referenced on the frontend's CLASSPATH are actually present in the build context, so that they can all be written to the image.
> This verification check contains explicit exclusions for test jars (built for the Calcite planner and theĀ traditional Impala frontend). Unfortunately this test in [https://github.com/apache/impala/blob/master/docker/setup_build_context.py#L204] and in [https://github.com/apache/impala/blob/master/docker/setup_build_context.py#L207] is too aggressive: they fail if the "tests" substring is present anywhere in the jar's full pathname, not only when it is part of the jar's name itself. The check should be constrained to the look at only the jar's own name.
> Found during downstream testing when $IMPALA_HOME's containing directory was called "dockerised_test", containing the "tests" substring, leading to an abrupt build failure.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org