export kyuubi home in kyuubi env

This commit is contained in:
Kent Yao 2018-05-21 19:19:28 +08:00
parent f1486322ee
commit 57721c0e6a
2 changed files with 2 additions and 2 deletions

View File

@ -26,4 +26,5 @@ if [ -z "$SPARK_HOME" ]; then
exit 1
fi
export KYUUBI_HOME="$(cd "`dirname "$0"`"/..; pwd)"
export KYUUBI_SUBMIT_ENABLE=true

View File

@ -19,10 +19,9 @@
## Kyuubi Server Main Entrance
CLASS="yaooqinn.kyuubi.server.KyuubiServer"
export KYUUBI_HOME="$(cd "`dirname "$0"`"/..; pwd)"
set -a
. "${KYUUBI_HOME}/bin/kyuubi-env.sh"
. "${PWD}/kyuubi-env.sh"
set +a
function usage {