You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "liyang (JIRA)" <ji...@apache.org> on 2017/08/02 01:24:02 UTC

[jira] [Commented] (KYLIN-2759) Sandbox environment location should not be hardcoded into KylinConfig

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

liyang commented on KYLIN-2759:
-------------------------------

The current setup is friendly to HDP sandbox and not for other envs. We are open for sandbox too but that needs some contribution of how to setup etc.

By design, all hadoop config files are under {{examples/test_case_data/sandbox/}}. That should be all you need to change to connect to another sandbox. Could you be more specific of what is hard coded?

> Sandbox environment location should not be hardcoded into KylinConfig
> ---------------------------------------------------------------------
>
>                 Key: KYLIN-2759
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2759
>             Project: Kylin
>          Issue Type: Task
>          Components: General
>    Affects Versions: v2.0.0
>            Reporter: nirav patel
>
> To run kylin in debug mode currently it relies on configuration files stored in "examples/test_case_data/sandbox/" under root directory. Also this path is hard coded into KylingConfig.java. 
> I think this path should be either command line argument to debugTomcat.java or part of kylin.properties or some other mechanism. Reason is most of the time developer has to change content of these config files according to their environment and best place to do it in separate location which is not part of git project. Otherwise we risk accidentally checking in those files.
> In general, any file that is expected to be changed by developer's own environment and which shouldn't be checked in then it shouldn't be part of git project in first place. Please advice. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)