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/19 01:46:47 UTC

[11/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/f9535cb8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-kylin/tree/f9535cb8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-kylin/diff/f9535cb8

Branch: refs/heads/master
Commit: f9535cb89ea556279773ab56626698c8b7ab1d6b
Parents: d492d5d
Author: honma <ho...@ebay.com>
Authored: Wed Sep 2 17:07:37 2015 +0800
Committer: Luke Han <lu...@apache.org>
Committed: Sun Sep 6 14:38:00 2015 +0800

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


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