1
0

[HUDI-329] Presto Containers for integration test must allow newly built local jars to override

This commit is contained in:
Balaji Varadarajan
2019-11-13 08:56:36 -08:00
committed by Balaji Varadarajan
parent 92c69f5703
commit f7c2f8cedc
2 changed files with 8 additions and 1 deletions

View File

@@ -196,6 +196,8 @@ services:
- TERM=xterm - TERM=xterm
links: links:
- "hivemetastore" - "hivemetastore"
volumes:
- ${HUDI_WS}:/var/hoodie/ws
command: coordinator command: coordinator
presto-worker-1: presto-worker-1:
@@ -215,6 +217,8 @@ services:
- "hiveserver" - "hiveserver"
- "hive-metastore-postgresql" - "hive-metastore-postgresql"
- "namenode" - "namenode"
volumes:
- ${HUDI_WS}:/var/hoodie/ws
command: worker command: worker
adhoc-1: adhoc-1:

View File

@@ -57,6 +57,9 @@ do
cat ${conf_file}.mustache | mustache.sh > ${conf_file} cat ${conf_file}.mustache | mustache.sh > ${conf_file}
done done
# Copy the presto bundle at run time so that locally built bundle overrides the one that is present in the image
cp ${HUDI_PRESTO_BUNDLE} ${PRESTO_HOME}/plugin/hive-hadoop2/
case "$1" in case "$1" in
"coordinator" | "worker" ) "coordinator" | "worker" )
server_role="$1" server_role="$1"