Configuring HMS for high availability
To provide failover to a secondary Hive metastore if your primary instance goes down, you need to know how to add a Metastore role in Cloudera Manager and configure a property.
hive.metastore.uris
property that lists the HMS instances for a
replacement HMS. The second HMS is the designated replacement if
hive.metastore.uri.selection
is set to SEQUENTIAL (recommended and
the default); otherwise, the replacement is selected randomly from the list if
hive.metastore.uri.selection
is set to RANDOM.