[ 
https://issues.apache.org/jira/browse/HIVE-29720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zhihua Deng updated HIVE-29720:
-------------------------------
    Description: 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 query becomes slow due to no compaction on the delta 
files. It would be nice to abort the Metastore early before things become 
worse.  (was: For the lease leader election, if a Metastore cannot participate 
in the election within the 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 query becomes slow due to no compaction on the delta files. It 
would be nice to abort the Metastore early before things become worse.)

> Abort the service if leader candidates 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
>            Priority: Major
>
> 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 
> query becomes slow due to no compaction on 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)

Reply via email to