Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Document HA of Metastore

...

Config Param

Description

javax.jdo.option.ConnectionURL

JDBC connection string for the data store which contains metadata

javax.jdo.option.ConnectionDriverName

JDBC Driver class name for the data store which contains metadata

hive.metastore.uris

Hive connects to this URI one of these URIs to make metadata requests for to a remote metastoreMetastore (comma separated list of URIs)

hive.metastore.local

local or remote metastore (Removed as of Hive 0.10: If hive.metastore.uris is empty local mode is assumed, remote otherwise)

hive.metastore.warehouse.dir

URI of the default location for native tables

 The Hive Metastore is stateless and thus there can be multiple instances to achieve High Availability. Using hive.metastore.uris it is possible to specify multiple remote Metastores. Hive will use the first one from the list by default but will pick a random one on connection failure and will try to reconnect.

These variables were carried over from old documentation without a guarantee that they all still exist (see the HiveConf java class for current Hive configuration options):

...