You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "rongchuan.jin (JIRA)" <ji...@apache.org> on 2018/12/30 04:47:00 UTC

[jira] [Created] (KYLIN-3749) Add configuration to override xml for RDBMS

rongchuan.jin created KYLIN-3749:
------------------------------------

             Summary: Add configuration to override xml for RDBMS
                 Key: KYLIN-3749
                 URL: https://issues.apache.org/jira/browse/KYLIN-3749
             Project: Kylin
          Issue Type: Improvement
          Components: RDBMS Source
    Affects Versions: v2.6.0
         Environment: MacOSX,JDK1.8
            Reporter: rongchuan.jin
             Fix For: v2.6.0


   Currently, Kylin package xml file for RDBMS, if I want to change the configuration for MySQL datasource like change some function mapping relation, the only way is to change the source code and repackage it.Which is annoying.

   Inspired by kylin.properties.override , I find it easy to solve this problem.

   How to do this:

      1. ${KYLIN_HOME}/conf ,make a new directory named datasource

      2. copy mysql.xml(for example) to ${KYLIN_HOME}/conf/datasource, change its name to mysql.xml.override.Thus you can modify that xml file whatever you want.

      3. Restart Kylin.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)