[
https://issues.apache.org/jira/browse/HIVE-27259?focusedWorklogId=856866&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-856866
]
ASF GitHub Bot logged work on HIVE-27259:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 13/Apr/23 17:33
Start Date: 13/Apr/23 17:33
Worklog Time Spent: 10m
Work Description: sonarcloud[bot] commented on PR #4232:
URL: https://github.com/apache/hive/pull/4232#issuecomment-1507357499
Kudos, SonarCloud Quality Gate passed! [](https://sonarcloud.io/dashboard?id=apache_hive&pullRequest=4232)
[](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4232&resolved=false&types=BUG)
[](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4232&resolved=false&types=BUG)
[0
Bugs](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4232&resolved=false&types=BUG)
[](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4232&resolved=false&types=VULNERABILITY)
[](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4232&resolved=false&types=VULNERABILITY)
[0
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4232&resolved=false&types=VULNERABILITY)
[](https://sonarcloud.io/project/security_hotspots?id=apache_hive&pullRequest=4232&resolved=false&types=SECURITY_HOTSPOT)
[](https://sonarcloud.io/project/security_hotspots?id=apache_hive&pullRequest=4232&resolved=false&types=SECURITY_HOTSPOT)
[0 Security
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_hive&pullRequest=4232&resolved=false&types=SECURITY_HOTSPOT)
[](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4232&resolved=false&types=CODE_SMELL)
[](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4232&resolved=false&types=CODE_SMELL)
[1 Code
Smell](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4232&resolved=false&types=CODE_SMELL)
[](https://sonarcloud.io/component_measures?id=apache_hive&pullRequest=4232&metric=coverage&view=list)
No Coverage information
[](https://sonarcloud.io/component_measures?id=apache_hive&pullRequest=4232&metric=duplicated_lines_density&view=list)
No Duplication information
Issue Time Tracking
-------------------
Worklog Id: (was: 856866)
Time Spent: 0.5h (was: 20m)
> 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
> Priority: Major
> Labels: pull-request-available
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> 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)
