Repository: kylin Updated Branches: refs/heads/master f1c0d7d4e -> 3152264c1
KYLIN-2559 Failed to create HDFS directory Signed-off-by: Li Yang <liy...@apache.org> Project: http://git-wip-us.apache.org/repos/asf/kylin/repo Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/3152264c Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/3152264c Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/3152264c Branch: refs/heads/master Commit: 3152264c15f07cc64210ccbe052780fd6fefc006 Parents: f1c0d7d Author: peng.jianhua <peng.jian...@zte.com.cn> Authored: Fri Apr 21 17:39:01 2017 +0800 Committer: Li Yang <liy...@apache.org> Committed: Mon Apr 24 11:42:20 2017 +0800 ---------------------------------------------------------------------- build/bin/check-env.sh | 5 +++++ 1 file changed, 5 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kylin/blob/3152264c/build/bin/check-env.sh ---------------------------------------------------------------------- diff --git a/build/bin/check-env.sh b/build/bin/check-env.sh index a0e91c4..a3170c7 100644 --- a/build/bin/check-env.sh +++ b/build/bin/check-env.sh @@ -49,6 +49,11 @@ then fi WORKING_DIR=`bash $KYLIN_HOME/bin/get-properties.sh kylin.env.hdfs-working-dir` +if [ -z "$WORKING_DIR" ] +then + quit "Please set kylin.env.hdfs-working-dir in kylin.properties" +fi + hadoop ${hadoop_conf_param} fs -mkdir -p $WORKING_DIR if [ $? != 0 ] then