You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by sh...@apache.org on 2015/09/07 04:02:38 UTC

incubator-kylin git commit: KYLIN-957 fix a path issue (“//path”) when kylin.hadoop.cluster.fs wasn’t set.

Repository: incubator-kylin
Updated Branches:
  refs/heads/0.7-staging c9f819e1d -> a47fc5d98


KYLIN-957 fix a path issue (“//path”) when kylin.hadoop.cluster.fs wasn’t set.

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

Branch: refs/heads/0.7-staging
Commit: a47fc5d986d143678f2dd4c43536deccd896fe80
Parents: c9f819e
Author: shaofengshi <sh...@apache.org>
Authored: Mon Sep 7 10:02:13 2015 +0800
Committer: shaofengshi <sh...@apache.org>
Committed: Mon Sep 7 10:02:13 2015 +0800

----------------------------------------------------------------------
 bin/check-env.sh      | 4 ++--
 conf/kylin.properties | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/a47fc5d9/bin/check-env.sh
----------------------------------------------------------------------
diff --git a/bin/check-env.sh b/bin/check-env.sh
index 89a4aed..9efb393 100644
--- a/bin/check-env.sh
+++ b/bin/check-env.sh
@@ -47,9 +47,9 @@ fi
 
 WORKING_DIR=`sh $KYLIN_HOME/bin/get-properties.sh kylin.hdfs.working.dir`
 HADOOP_FS=`sh $KYLIN_HOME/bin/get-properties.sh kylin.hadoop.cluster.fs`
-hadoop fs -mkdir -p $HADOOP_FS/$WORKING_DIR
+hadoop fs -mkdir -p $HADOOP_FS$WORKING_DIR
 if [ $? != 0 ]
 then
-    echo "failed to create $HADOOP_FS/$WORKING_DIR, Please make sure the user has right to access $HADOOP_FS/$WORKING_DIR"
+    echo "failed to create $HADOOP_FS$WORKING_DIR, Please make sure the user has right to access $HADOOP_FS$WORKING_DIR"
     exit 1
 fi

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/a47fc5d9/conf/kylin.properties
----------------------------------------------------------------------
diff --git a/conf/kylin.properties b/conf/kylin.properties
index 98eeafc..3850005 100644
--- a/conf/kylin.properties
+++ b/conf/kylin.properties
@@ -29,11 +29,11 @@ kylin.storage.url=hbase
 # Temp folder in hdfs, make sure user has the right access to the hdfs directory
 kylin.hdfs.working.dir=/kylin
 
-# Hadoop Cluster FileSystem, which serving hive and mapreduce, format as hdfs://hadoop-cluster/
+# Hadoop Cluster FileSystem, which serving hive and mapreduce, format as hdfs://hadoop-cluster/ (end with /)
 # leave empty if using default fs configured by local core-site.xml
 kylin.hadoop.cluster.fs=
 
-# HBase Cluster FileSystem, which serving hbase, format as hdfs://hbase-cluster/
+# HBase Cluster FileSystem, which serving hbase, format as hdfs://hbase-cluster/ (end with /)
 # leave empty if hbase running on same cluster with hive and mapreduce
 kylin.hbase.cluster.fs=