From 1eddd689c53c451cfc2d41e42ab0c2eeff0b0850 Mon Sep 17 00:00:00 2001 From: hongdongdong Date: Fri, 18 Feb 2022 15:20:19 +0800 Subject: [PATCH] [KYUUBI #1930] Export TRINO_ENGINE_HOME in load-kyuubi-env script ### _Why are the changes needed?_ ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [X] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request Closes #1932 from hddong/add-trino-engine-home. Closes #1930 26ed8ce2 [root] [KYUUBI #1930] Export TRINO_ENGINE_HOME in load-kyuubi-env script Lead-authored-by: hongdongdong Co-authored-by: root Signed-off-by: Cheng Pan --- bin/load-kyuubi-env.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/load-kyuubi-env.sh b/bin/load-kyuubi-env.sh index f4ed9e032..050fac35e 100755 --- a/bin/load-kyuubi-env.sh +++ b/bin/load-kyuubi-env.sh @@ -101,6 +101,7 @@ fi export FLINK_HOME="${FLINK_HOME:-"${FLINK_BUILTIN}"}" export FLINK_ENGINE_HOME="${KYUUBI_HOME}/externals/engines/flink" +export TRINO_ENGINE_HOME="${KYUUBI_HOME}/externals/engines/trino" export SPARK_HOME="${SPARK_HOME:-"${SPARK_BUILTIN}"}" # Print essential environment variables to console @@ -120,5 +121,7 @@ if [ $silent -eq 0 ]; then echo "SPARK_HOME: ${SPARK_HOME}" echo "SPARK_CONF_DIR: ${SPARK_CONF_DIR:-"${SPARK_HOME}/conf"}" + echo "TRINO_ENGINE_HOME: ${TRINO_ENGINE_HOME}" + echo "HADOOP_CONF_DIR: ${HADOOP_CONF_DIR}" fi