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 2015/09/03 03:32:05 UTC

[50/50] [abbrv] incubator-kylin git commit: KYLIN-632 "kylin.sh stop" doesn't check whether KYLIN_HOME was set

KYLIN-632 "kylin.sh stop" doesn't check whether KYLIN_HOME was 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/5057f867
Tree: http://git-wip-us.apache.org/repos/asf/incubator-kylin/tree/5057f867
Diff: http://git-wip-us.apache.org/repos/asf/incubator-kylin/diff/5057f867

Branch: refs/heads/0.7
Commit: 5057f867eae6ed4daaa2590b21460df662fadd39
Parents: 21c4a3b
Author: honma <ho...@ebay.com>
Authored: Wed Sep 2 17:07:37 2015 +0800
Committer: honma <ho...@ebay.com>
Committed: Wed Sep 2 17:07:51 2015 +0800

----------------------------------------------------------------------
 bin/kylin.sh | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/5057f867/bin/kylin.sh
----------------------------------------------------------------------
diff --git a/bin/kylin.sh b/bin/kylin.sh
index dcd835e..fbaff24 100644
--- a/bin/kylin.sh
+++ b/bin/kylin.sh
@@ -17,10 +17,13 @@
 # limitations under the License.
 #
 
+dir=$(dirname ${0})
+source ${dir}/check-env.sh
+mkdir -p ${KYLIN_HOME}/logs
+
 if [ $1 == "start" ]
 then
-    dir=$(dirname ${0})
-    source ${dir}/check-env.sh
+
     tomcat_root=${dir}/../tomcat
     export tomcat_root