Quantcast
Channel: Hortonworks » All Replies
Viewing all articles
Browse latest Browse all 3435

Configuration of Hiveserver2 to use a remote metastore server.

$
0
0

Apologies if this has been asked before but I have been unable to find much information on the subject.

I am using HDP 2.2.4 with Ambari 2.0.1 and I am wanting to configure the Hiveserver2 instance to use a remote metastore server. I have made changes to the config in Ambari to update hive-site and hiveserver2-site with the correct value in hive.metastore.uris. But that value appears to be ignored by my Hiveserver2 instance.

The only way I can see to get this to work is to manually change these 2 files:
/var/lib/ambari-server/resources/common-services/HIVE/0.12.0.2.0/package/templates/startHiveserver2.sh.j2
/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/templates/startHiveserver2.sh.j2

And remove the reference to hive.metastore.uris from the HIVE_CONF_DIR definition.

IS this the only way to make this change?

Also is this still the same in later versions of Ambari?

Thanks for any assistance.


Viewing all articles
Browse latest Browse all 3435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>