hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tucker, Matt" <Matt.Tuc...@disney.com>
Subject Hive-Site.xml Hostname variable
Date Thu, 09 Feb 2012 21:56:40 GMT
I'm looking to modify the Hive Warehouse location in HDFS to store the managed tables in a
location where all users have write access.  I'd also like the ability to support multiple
Hive instances on the cluster, so we are looking at an HDFS path like /data/hive/<hostname>/warehouse.

Is there a way to programmatically set the <hostname> value?  I see that it's available
in Hive as ${env:HOSTNAME}, but I get errors when I try to use that in the hive.metastore.warehouse.dir
path in hive-site.xml.

Thanks

Matt Tucker

Mime
View raw message