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

[jira] [Created] (HIVE-19499) Bootstrap REPL LOAD shall add tasks to create checkpoints for tables/partitions.

Sankar Hariappan created HIVE-19499:
---------------------------------------

             Summary: Bootstrap REPL LOAD shall add tasks to create checkpoints for 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
             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)