You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by ni...@apache.org on 2019/04/08 03:29:11 UTC

[kylin] branch master updated: minor, refine logs when starting(print the hostname).

This is an automated email from the ASF dual-hosted git repository.

nic pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kylin.git


The following commit(s) were added to refs/heads/master by this push:
     new f63699d  minor, refine logs when starting(print the hostname).
f63699d is described below

commit f63699d0c002b6c9bcfcc88387ea9a178427c459
Author: Jiatao Tao <24...@qq.com>
AuthorDate: Sun Apr 7 10:47:16 2019 +0800

    minor, refine logs when starting(print the hostname).
---
 build/bin/kylin.sh | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/build/bin/kylin.sh b/build/bin/kylin.sh
index 144ddc5..9546863 100755
--- a/build/bin/kylin.sh
+++ b/build/bin/kylin.sh
@@ -135,9 +135,7 @@ then
     echo ""
     echo "A new Kylin instance is started by $USER. To stop it, run 'kylin.sh stop'"
     echo "Check the log at ${KYLIN_HOME}/logs/kylin.log"
-    kylin_server_port=`sed -n "s/<Connector port=\"\(.*\)\" protocol=\"HTTP\/1.1\"/\1/"p ${KYLIN_HOME}/tomcat/conf/server.xml`
-    kylin_server_port=`echo ${kylin_server_port}` #ignore white space
-    echo "Web UI is at http://<hostname>:${kylin_server_port}/kylin"
+    echo "Web UI is at http://${kylin_rest_address_arr}/kylin"
     exit 0
     
 # run command