IMPALA-9679: Remove some jars from Docker images

This removes a few transitive dependencies that
don't appear to be needed at runtime.

This also removes the frontend test jar. The inclusion
of that jar was masking an issue where some configs
were not accessible from within the container, because
they were symlinks to paths on the host.

Testing:
Ran dockerized tests in precommit.

Ran regular tests with CDP hive.

Change-Id: I030e7cd28e29cd4e077c0b4addd4d14a8599eed6
Reviewed-on: http://gerrit.cloudera.org:8080/15753
Reviewed-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
This commit is contained in:
Tim Armstrong
2020-04-17 17:39:59 -07:00
committed by Impala Public Jenkins
parent f7770f1d20
commit 29a7ce67f5
3 changed files with 46 additions and 3 deletions

View File

@@ -92,7 +92,8 @@ for jar in dep_classpath.split(":"):
symlink_file_into_dir(jar, LIB_DIR)
# Impala jars.
for jar in glob.glob(os.path.join(IMPALA_HOME, "fe/target/impala-frontend-*.jar")):
for jar in glob.glob(
os.path.join(IMPALA_HOME, "fe/target/impala-frontend-*-SNAPSHOT.jar")):
symlink_file_into_dir(jar, LIB_DIR)
# Templates for debug web pages.