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/09/03 12:53:59 UTC
[kylin] branch master updated: KYLIN-4148 Execute
'bin/kylin-port-replace-util.sh' to change port will cause the
configuration of 'kylin.metadata.url' lost
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 dae765f KYLIN-4148 Execute 'bin/kylin-port-replace-util.sh' to change port will cause the configuration of 'kylin.metadata.url' lost
dae765f is described below
commit dae765fb83cae9f72377ac2c8376a8c748451d7b
Author: luguosheng1314 <55...@qq.com>
AuthorDate: Tue Aug 27 20:03:44 2019 +0800
KYLIN-4148 Execute 'bin/kylin-port-replace-util.sh' to change port will cause the configuration of 'kylin.metadata.url' lost
---
build/bin/kylin-port-replace-util.sh | 3 ---
1 file changed, 3 deletions(-)
diff --git a/build/bin/kylin-port-replace-util.sh b/build/bin/kylin-port-replace-util.sh
index e52d808..0d6f005 100755
--- a/build/bin/kylin-port-replace-util.sh
+++ b/build/bin/kylin-port-replace-util.sh
@@ -81,11 +81,8 @@ then
#back or reset
if [ ! -f ${KYLIN_BACKUP_FILE} ]; then #backup if not exist
cp -f ${KYLIN_CONFIG_FILE} ${KYLIN_BACKUP_FILE}
- else
- cp -r ${KYLIN_BACKUP_FILE} ${KYLIN_CONFIG_FILE} #reset if exist
fi
-
#replace ports in kylin.properties
new_kylin_port=`expr ${KYLIN_DEFAULT_PORT} + ${OFFSET}`