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 2018/10/04 03:44:00 UTC

[jira] [Commented] (HIVE-20680) hive bootstrap missing partitions in replicated db

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

ASF GitHub Bot commented on HIVE-20680:
---------------------------------------

GitHub user maheshk114 opened a pull request:

    https://github.com/apache/hive/pull/443

    HIVE-20680 : hive bootstrap missing partitions in replicated db

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/maheshk114/hive HIVE-20680

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/hive/pull/443.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #443
    
----
commit 114b9cb8df9e23f0155364fe1bec143f45817318
Author: Mahesh Kumar Behera <mb...@...>
Date:   2018-10-03T08:36:02Z

    HIVE-20680 : hive bootstrap missing partitions in replicated db

----


> 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
>
>
> 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)