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/02/12 06:43:04 UTC

[14/50] incubator-kylin git commit: fix bin

fix bin


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

Branch: refs/heads/inverted-index
Commit: 681314c3ab664d0944cdf85c56b12591dd11976c
Parents: cb1de27
Author: qianhao.zhou <qi...@ebay.com>
Authored: Tue Feb 10 17:35:21 2015 +0800
Committer: qianhao.zhou <qi...@ebay.com>
Committed: Tue Feb 10 17:35:21 2015 +0800

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


http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/681314c3/bin/start-kylin.sh
----------------------------------------------------------------------
diff --git a/bin/start-kylin.sh b/bin/start-kylin.sh
index d328851..a6aabdf 100755
--- a/bin/start-kylin.sh
+++ b/bin/start-kylin.sh
@@ -28,7 +28,7 @@ sh ${dir}/check-env.sh || { exit 1; }
 
 useSandbox=`cat ${KYLIN_HOME}/conf/kylin.properties | grep 'kylin.sandbox' | awk -F '=' '{print $2}'`
 spring_profile="default"
-if [ "$useSandbox" -eq true ]
+if [ "$useSandbox" = "true" ]
     then spring_profile="sandbox"
 fi
 rm -rf ${tomcat_root}/webapps/kylin*
@@ -51,7 +51,7 @@ hbase -Djava.util.logging.config.file=${tomcat_root}/conf/logging.properties \
 -Dspring.profiles.active=${spring_profile} \
 org.apache.hadoop.util.RunJar ${tomcat_root}/bin/bootstrap.jar  org.apache.catalina.startup.Bootstrap start > ${tomcat_root}/logs/kylin_sandbox.log 2>&1 &
 echo "A new Kylin instance is started by $USER, stop it using \"stop-kylin.sh\""
-if [ "$useSandbox" -eq true ]
+if [ "$useSandbox" = "true" ]
     then echo "Please visit http://<your_sandbox_ip>:7070/kylin to play with the cubes! (Useranme: ADMIN, Password: KYLIN)"
 else
     echo "Please visit http://<ip>:7070/kylin"