You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by "hongbin ma (JIRA)" <ji...@apache.org> on 2017/06/07 04:51:18 UTC

[jira] [Created] (KYLIN-2659) Refactor KylinConfig so that all the default configurations are hidden in kylin-defaults.properties

hongbin ma created KYLIN-2659:
---------------------------------

             Summary: Refactor KylinConfig so that all the default configurations are hidden in kylin-defaults.properties
                 Key: KYLIN-2659
                 URL: https://issues.apache.org/jira/browse/KYLIN-2659
             Project: Kylin
          Issue Type: Improvement
            Reporter: hongbin ma
            Assignee: hongbin ma


Currently we ship a conf/kylin.properties file with a lot of configuration overrides. This is not a standard approach compared with other projects like hadoop or spark.

It's better to have a kylin-defaults.properties file to hide all the default configurations, users will only have to override necessary configurations in a blank kylin.properties.

After the refactor, a config might be override by the following precedence:

1. KV in kylin.properties.override, which is more of a "secret feature", never documented.
2. KV in kylin.properties, users are suggested to override configs here
3. KV in kylin-defaults.properties, readonly to users
4. KV in KylinConfigBase, readonly to users

The refactor will be backward compatible



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)