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 16:26:00 UTC

[jira] [Work logged] (HIVE-20680) Bootstrap is missing partitions in replicated DB when retry after kill query.

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

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

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


   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: 443041)
    Remaining Estimate: 0h
            Time Spent: 10m

> Bootstrap is missing partitions in replicated DB when retry after kill query.
> -----------------------------------------------------------------------------
>
>                 Key: HIVE-20680
>                 URL: https://issues.apache.org/jira/browse/HIVE-20680
>             Project: Hive
>          Issue Type: Bug
>          Components: repl
>    Affects Versions: 4.0.0
>            Reporter: mahesh kumar behera
>            Assignee: mahesh kumar behera
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>         Attachments: HIVE-20680.01.patch, HIVE-20680.02.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The issue is
> 1. When bootstrap was going on, kill query was called to kill the repl load command.
> 2. During restart, one table with no partition set the scope to table as the ckpt property was not yet set for that table.
> 3. Due to this, all partitioned table after this didn't get their tasks related to partition appended in the root task if the ckpt property is already updated for those tables.
> The fix is to reset the table scope to false if for that table there are no tasks added.



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