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

mahesh kumar behera commented on HIVE-20680:
--------------------------------------------

[~sankarh]
can you please review the patch

> hive bootstrap missing partitions in replicated db
> --------------------------------------------------
>
>                 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
>
>
> 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
(v7.6.3#76005)

Reply via email to