You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "kangkaisen (JIRA)" <ji...@apache.org> on 2016/11/14 04:14:58 UTC

[jira] [Commented] (KYLIN-2180) Add project config and make config priority become "cube > project > server"

    [ https://issues.apache.org/jira/browse/KYLIN-2180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15662705#comment-15662705 ] 

kangkaisen commented on KYLIN-2180:
-----------------------------------

This is my solution:
Firstly, support to add project config in web UI, web API and project metadata. I will make the project metadata is forward compatible.

Secondly, update the {{KylinConfigExt}} . 

Finally, when use the {{cube.getConfig()}} to get the property, the property will get from the config of cube, the config of project and  the config of server in turn.

> Add project config and make config priority become "cube > project > server"
> ----------------------------------------------------------------------------
>
>                 Key: KYLIN-2180
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2180
>             Project: Kylin
>          Issue Type: New Feature
>          Components: Metadata
>    Affects Versions: v1.5.4.1
>            Reporter: kangkaisen
>            Assignee: kangkaisen
>
> There are cases we want to override global kylin.properties in the scope of a project. E.g. the queue name of Hadoop job.
> Finally, the config priority for Kylin should be "cube > project > server". I think which is reasonable.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)