You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/06/09 15:49:00 UTC

[jira] [Work logged] (HIVE-21841) Leader election in HMS to run housekeeping tasks.

     [ https://issues.apache.org/jira/browse/HIVE-21841?focusedWorklogId=442694&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-442694 ]

ASF GitHub Bot logged work on HIVE-21841:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 09/Jun/20 15:48
            Start Date: 09/Jun/20 15:48
    Worklog Time Spent: 10m 
      Work Description: github-actions[bot] commented on pull request #668:
URL: https://github.com/apache/hive/pull/668#issuecomment-640955859


   This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
   Feel free to reach out on the dev@hive.apache.org list if the patch is in need of reviews.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 442694)
    Time Spent: 3h 40m  (was: 3.5h)

> Leader election in HMS to run housekeeping tasks.
> -------------------------------------------------
>
>                 Key: HIVE-21841
>                 URL: https://issues.apache.org/jira/browse/HIVE-21841
>             Project: Hive
>          Issue Type: New Feature
>    Affects Versions: 4.0.0
>            Reporter: Ashutosh Bapat
>            Assignee: Ashutosh Bapat
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>         Attachments: HIVE-21841.01.patch, HIVE-21841.02.patch, HIVE-21841.04.patch, HIVE-21841.05.patch, HIVE-21841.06.patch, HIVE-21841.07.patch, HIVE-21841.08.patch, HIVE-21841.09.patch
>
>          Time Spent: 3h 40m
>  Remaining Estimate: 0h
>
> HMS performs housekeeping tasks. When there are multiple HMSes we need to have a leader HMS elected which will carry out those housekeeping tasks. 
> These tasks include execution of compaction tasks, auto-discovering partitions for external tables, generation of compaction tasks, repl thread etc.
> Note that, though the code for compaction tasks, auto-discovery of partitions etc. is in Hive, the actual tasks are initiated by an HMS configured to do so. So, leader election is required only for HMS and not for HS2.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)