minor, move temporary file to folder var
Project: http://git-wip-us.apache.org/repos/asf/kylin/repo Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/11a0b57a Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/11a0b57a Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/11a0b57a Branch: refs/heads/master Commit: 11a0b57acd434cff426e860a0b4c645b496522f6 Parents: 73a78db Author: Cheng Wang <cheng.w...@kyligence.io> Authored: Mon May 22 16:30:38 2017 +0800 Committer: æ <cheng.w...@kyligence.io> Committed: Tue May 23 11:30:25 2017 +0800 ---------------------------------------------------------------------- build/bin/load-hive-conf.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kylin/blob/11a0b57a/build/bin/load-hive-conf.sh ---------------------------------------------------------------------- diff --git a/build/bin/load-hive-conf.sh b/build/bin/load-hive-conf.sh index a42cd0c..c7317c6 100644 --- a/build/bin/load-hive-conf.sh +++ b/build/bin/load-hive-conf.sh @@ -5,9 +5,9 @@ source $(cd -P -- "$(dirname -- "$0")" && pwd -P)/header.sh # source me - +mkdir -p ${KYLIN_HOME}/var hive_conf_dir="${KYLIN_HOME}/conf/kylin_hive_conf.xml" -hive_conf_prop="${KYLIN_HOME}/logs/hive_props" +hive_conf_prop="${KYLIN_HOME}/var/hive_props" rm -rf ${hive_conf_prop} export ENABLE_CHECK_ENV=false ${dir}/kylin.sh org.apache.kylin.tool.HiveConfigCLI ${hive_conf_dir} ${hive_conf_prop}