[ https://issues.apache.org/jira/browse/KYLIN-2568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
liyang resolved KYLIN-2568. --------------------------- Resolution: Fixed Merged. Thanks Jianhua! > When we execute the script 'kylin_port_replace_util.sh' to modify kylin port, > it will reset other property in kylin.properties. > ------------------------------------------------------------------------------------------------------------------------------- > > 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.3.15#6346)