You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Xiaoxiang Yu (Jira)" <ji...@apache.org> on 2020/09/27 02:52:00 UTC
[jira] [Resolved] (KYLIN-4616) The value of config
kylin.source.hive.databasedir can be self detected
[ https://issues.apache.org/jira/browse/KYLIN-4616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiaoxiang Yu resolved KYLIN-4616.
---------------------------------
Resolution: Fixed
> 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
> Fix For: v3.1.1
>
>
> 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)