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

Zhong Yanghong commented on KYLIN-4616:
---------------------------------------

After applying this patch, you need to delete 
${KYLIN_HOME}/bin/cached-hive-dependency.sh

> 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