[ https://issues.apache.org/jira/browse/KYLIN-2568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Billy Liu updated KYLIN-2568: ----------------------------- Summary: 'kylin_port_replace_util.sh' should only modify the kylin port and keep other properties unchanged. (was: When we execute the script 'kylin_port_replace_util.sh' to modify kylin port, it will reset other property in kylin.properties.) > 'kylin_port_replace_util.sh' should only modify the kylin port and keep other > properties unchanged. > ---------------------------------------------------------------------------------------------------- > > Key: KYLIN-2568 > URL: https://issues.apache.org/jira/browse/KYLIN-2568 > Project: Kylin > Issue Type: Bug > Components: General > Affects Versions: v2.0.0 > Reporter: peng.jianhua > Assignee: peng.jianhua > Priority: Minor > Labels: patch > Fix For: v2.1.0 > > Attachments: > 0001-KYLIN-2568-When-we-execute-the-script-kylin_port_rep.patch > > > When we execute the script 'kylin_port_replace_util.sh' to modify kylin port, > it will reset other property in kylin.properties. > The reproduction steps are as follows: > 1. Set the kylin port as 17070 using > "${KYLIN_HOME}/bin/kylin_port_replace_util.sh set 10000" command. > 2. Modify the property in kylin.properties. For example, change > "kylin.server.mode=all" to "kylin.server.mode=query" > 3. Set the kylin port as 12070 using > "${KYLIN_HOME}/bin/kylin_port_replace_util.sh set 5000" command. > The result is that the kylin.server.mode which had been set as 'query' value > in above second step was set as 'all' value again. These properities were > reset. At the same time the contents of the server.xml are also reset. -- This message was sent by Atlassian JIRA (v6.4.14#64029)