You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "mahesh kumar behera (JIRA)" <ji...@apache.org> on 2018/10/03 12:35:00 UTC

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

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

mahesh kumar behera updated HIVE-20680:
---------------------------------------
    Description: 
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.

  was:
The issue was that

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.


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