Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Hive, mail # dev - How to pass config from qfile to Hive Metastore


Copy link to this message
-
How to pass config from qfile to Hive Metastore
Gang Tim Liu 2013-04-26, 22:04
Hi Dear all,

I want to set a configuration in file and pass it to Hive Metastore for
example logic in HiveAlterHandler.java. In order to do that, this
configuration should be in HiveConf.metaVars.

But, a simple test got NPE. Anyone has experience to pass config from
qfile to Hive metastore?

Attached has status.q. It has set hive.metastore.ds.retry.interval=2000
which is part of HiveConf.metaVars. Attached has error.txt.

If we remove the config line from status.q, it works.

Thanks

Tim

+
Navis류승우 2013-04-30, 01:20