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

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

GitHub user sankarh opened a pull request:

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

    HIVE-19739: Bootstrap REPL LOAD to use checkpoints to validate and skip the 
loaded data/metadata.

    

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

    $ git pull https://github.com/sankarh/hive HIVE-19739

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

    https://github.com/apache/hive/pull/366.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 #366
    
----
commit 89d6d9957c200ebad3a78a38400ea70efa5abdc2
Author: Sankar Hariappan <mailtosankarh@...>
Date:   2018-06-04T21:35:38Z

    HIVE-19739: Bootstrap REPL LOAD to use checkpoints to validate and skip the 
loaded data/metadata.

----


> Bootstrap REPL LOAD to use checkpoints to validate and skip the loaded 
> data/metadata.
> -------------------------------------------------------------------------------------
>
>                 Key: HIVE-19739
>                 URL: https://issues.apache.org/jira/browse/HIVE-19739
>             Project: Hive
>          Issue Type: Sub-task
>          Components: HiveServer2, repl
>    Affects Versions: 3.0.0
>            Reporter: Sankar Hariappan
>            Assignee: Sankar Hariappan
>            Priority: Major
>              Labels: DR, pull-request-available, replication
>             Fix For: 4.0.0
>
>
> Currently. bootstrap REPL LOAD have added checkpoint identifiers in 
> DB/table/partition object properties once the data/metadata related to the 
> object is successfully loaded.
> If the Db exist and is not empty, then currently we are throwing exception. 
> But need to support it for the retry scenario after a failure.
> If there is a retry of bootstrap load using the same dump, then instead of 
> throwing error, we should check if any of the tables/partitions are 
> completely loaded using the checkpoint identifiers. If yes, then skip it or 
> else drop/create them again.
> If the bootstrap load is performed using different dump, then it should throw 
> exception.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to