You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by li...@apache.org on 2017/04/30 12:59:39 UTC

[23/30] kylin git commit: KYLIN-2559 Failed to create HDFS directory

KYLIN-2559 Failed to create HDFS directory

Signed-off-by: Li Yang <li...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/b9050b59
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/b9050b59
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/b9050b59

Branch: refs/heads/v2.0.0-release-hbase0.98
Commit: b9050b598e5a5db71ed1800fdbf2a3cbfbbcc17f
Parents: 94e765a
Author: peng.jianhua <pe...@zte.com.cn>
Authored: Fri Apr 21 17:39:01 2017 +0800
Committer: Li Yang <li...@apache.org>
Committed: Mon Apr 24 11:41:52 2017 +0800

----------------------------------------------------------------------
 build/bin/check-env.sh | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/b9050b59/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