Configure metastore location and HTTP mode
In addition to the database properties you need to set in CDP Private Cloud Base, you must
configure the metastore URI property. This property defines one or more metastore locations.
In CDP Public Cloud, you need to check the HTTP transport mode property. This property is
http only for HiveServer and not for the metastore.
- The following components are running:
- Hive Metastore
- A database for the metastore, such as the default MySQL Server
- Hive clients
- Minimum Required Role: Configurator (also provided by Cluster Administrator, Full Administrator)
hive-site.xml. , search for
In the Hive Metastore Server Advanced Configuration Safety Valve, which you use
to change properties in hive-site.xml, click + and add the
hive.metastore.urisproperty using the following syntax:
<n.n.n.n>an IP address or fully qualified domain name (FQDN) of the metastore host.Only the Hive Metastore Server Default Group in hive-site.xml should define this property.