Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-3749

Add configuration to override xml for RDBMS

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: v2.6.0
    • Fix Version/s: v2.6.0
    • Component/s: RDBMS Source
    • Labels:
      None
    • Environment:
      MacOSX,JDK1.8

      Description

         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.

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rongchuan.jin rongchuan.jin
                Reporter:
                rongchuan.jin rongchuan.jin
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: