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

ASF subversion and git services commented on KYLIN-4616:
--------------------------------------------------------

Commit 43c3ef85c5ddef7876f53435d87973377161296e in kylin's branch 
refs/heads/master from Zhong, Yanghong
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=43c3ef8 ]

KYLIN-4616 Auto detect the default value of config kylin.source.hive.databasedir


> The value of config kylin.source.hive.databasedir can be self detected
> ----------------------------------------------------------------------
>
>                 Key: KYLIN-4616
>                 URL: https://issues.apache.org/jira/browse/KYLIN-4616
>             Project: Kylin
>          Issue Type: Improvement
>            Reporter: Zhong Yanghong
>            Assignee: Zhong Yanghong
>            Priority: Major
>
> We can detect the value of config hive.metastore.warehouse.dir from the 
> hive-site.xml. Then we can set the value of config 
> kylin.source.hive.databasedir by:
> * If kylin.dictionary.mr-hive.database is empty, then use 
> get("hive.metastore.warehouse.dir");
> * else use get("hive.metastore.warehouse.dir") + "/" + 
> get("kylin.dictionary.mr-hive.database")+".db"



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to