[
https://issues.apache.org/jira/browse/HIVE-19499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16482700#comment-16482700
]
ASF GitHub Bot commented on HIVE-19499:
---------------------------------------
GitHub user sankarh opened a pull request:
https://github.com/apache/hive/pull/352
HIVE-19499: Bootstrap REPL LOAD shall add tasks to create checkpoints for
db/tables/partitions.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sankarh/hive HIVE-19499
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/hive/pull/352.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 #352
----
commit 7cd8e4153325167f0d869667efb86c10256761f7
Author: Sankar Hariappan <mailtosankarh@...>
Date: 2018-05-19T18:16:58Z
HIVE-19499: Bootstrap REPL LOAD shall add tasks to create checkpoints for
db/tables/partitions.
----
> Bootstrap REPL LOAD shall add tasks to create checkpoints for
> db/tables/partitions.
> -----------------------------------------------------------------------------------
>
> Key: HIVE-19499
> URL: https://issues.apache.org/jira/browse/HIVE-19499
> 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: 3.1.0
>
>
> Currently. bootstrap REPL LOAD expect the target database to be empty or not
> exist to start bootstrap load.
> But, this adds overhead when there is a failure in between bootstrap load and
> there is no way to resume it from where it fails. So, it is needed to create
> checkpoints in table/partitions to skip the completely loaded objects.
> Use hash of the fully qualified path of the dump directory as a checkpoint
> identifier. This should be added to the table / partition properties in hive
> via a task, as the last task in the DAG for table / partition creation.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)