[
https://issues.apache.org/jira/browse/HIVE-29720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18097856#comment-18097856
]
arun kumar commented on HIVE-29720:
-----------------------------------
Thank you [~dengzh] for assigning this, I have submitted PR.
> Abort the service if Metastore cannot participate in the election
> -----------------------------------------------------------------
>
> Key: HIVE-29720
> URL: https://issues.apache.org/jira/browse/HIVE-29720
> Project: Hive
> Issue Type: Bug
> Components: Standalone Metastore
> Reporter: Zhihua Deng
> Assignee: arun kumar
> Priority: Major
> Labels: pull-request-available
>
> For the lease leader election, if a Metastore cannot participate in the
> election within retries, it's still running with only a message warned. This
> could be an issue if all Metastores have failed the election or a restarted
> leader cannot join in the election anymore due to some unknown exception. As
> a consequence no housekeeping tasks are running across the warehouse, and the
> user cannot figure it out early until things become wrong, such as normal
> queries become slow due to no compaction over the delta files. It would be
> nice to abort the Metastore early before things become worse.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)