Enabling Hive Metastore leader election
Enable dynamic leader election so that Hive Metastore (HMS) uses a Hive lock to elect a leader for housekeeping tasks instead of a statically configured host.
By default the HMS uses the dynamic election in Cloudera Runtime
7.3.2.10000. To elect the leader dynamically, set
metastore.housekeeping.leader.election to lock and
enable the supporting properties on all HMS instances so that a new leader can start the
housekeeping tasks.
You have access to the Cloudera Manager Hive Metastore configuration.
HMS instances compete for a Hive lock to elect the leader, and a new leader is elected automatically if the current leader stops responding.
