You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Sankar Hariappan (JIRA)" <ji...@apache.org> on 2018/10/06 09:28:00 UTC

[jira] [Updated] (HIVE-20680) Bootstrap is missing partitions in replicated DB after retry.

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

Sankar Hariappan updated HIVE-20680:
------------------------------------
    Summary: Bootstrap is missing partitions in replicated DB after retry.  (was: hive bootstrap missing partitions in replicated db)

> Bootstrap is missing partitions in replicated DB after retry.
> -------------------------------------------------------------
>
>                 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)