KYLIN-2762 Make the jar under KYLIN_HOME/tool in front of the CLASSPATH
Project: http://git-wip-us.apache.org/repos/asf/kylin/repo Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/e21e86e4 Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/e21e86e4 Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/e21e86e4 Branch: refs/heads/2.1.x Commit: e21e86e4738f9f463d2b38d5577d3bd6caa05b86 Parents: 3e777c0 Author: tttMelody <245915...@qq.com> Authored: Mon Jul 31 17:30:40 2017 +0800 Committer: YIMINGXU <100650...@qq.com> Committed: Mon Jul 31 04:53:32 2017 -0500 ---------------------------------------------------------------------- build/bin/kylin.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kylin/blob/e21e86e4/build/bin/kylin.sh ---------------------------------------------------------------------- diff --git a/build/bin/kylin.sh b/build/bin/kylin.sh index 08c9075..bf1c862 100755 --- a/build/bin/kylin.sh +++ b/build/bin/kylin.sh @@ -199,10 +199,10 @@ then then source ${dir}/setenv-tool.sh fi - hbase_original=${HBASE_CLASSPATH} - export HBASE_CLASSPATH=${hbase_original}:${KYLIN_HOME}/tool/* + hbase_pre_original=${HBASE_CLASSPATH_PREFIX} + export HBASE_CLASSPATH_PREFIX=${KYLIN_HOME}/tool/*:${HBASE_CLASSPATH_PREFIX} exec hbase ${KYLIN_EXTRA_START_OPTS} -Dkylin.hive.dependency=${hive_dependency} -Dkylin.hbase.dependency=${hbase_dependency} -Dlog4j.configuration=file:${KYLIN_HOME}/conf/kylin-tools-log4j.properties "$@" - export HBASE_CLASSPATH=${hbase_original} + export HBASE_CLASSPATH_PREFIX=${hbase_pre_original} else quit "Usage: 'kylin.sh [-v] start' or 'kylin.sh [-v] stop'" fi