You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Subhasis Gorai (Jira)" <ji...@apache.org> on 2023/04/13 12:06:00 UTC

[jira] [Created] (HIVE-27259) Enhancing Hive Metastore common library support for Leader Election

Subhasis Gorai created HIVE-27259:
-------------------------------------

             Summary: Enhancing Hive Metastore common library support for Leader Election
                 Key: HIVE-27259
                 URL: https://issues.apache.org/jira/browse/HIVE-27259
             Project: Hive
          Issue Type: Improvement
          Components: Standalone Metastore
            Reporter: Subhasis Gorai


I couldn't find Leader Election support in Hive metastore foundational libraries.

In a distributed environment, we often need to select a node as the leader to coordinate the execution of complex jobs. Working on a Hive Replication enhancement where we need to spawn threads with specialized work but we need to make sure that such an HS2 thread is running strictly on a single HS2 instance at a given moment.

We need to enhance HMS common libraries to include the 'Leader Election' recipe.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)