hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Dai (JIRA)" <>
Subject [jira] [Commented] (HIVE-17595) Correct DAG for updating the for a database during bootstrap load
Date Wed, 01 Nov 2017 00:00:00 GMT


Daniel Dai commented on HIVE-17595:

bq. there is separate conditions that lead to execution of createEndReplLogTask, it is done
after all the tasks are done as part of ...
Seems createEndReplLogTask is dependent on root tasks, not leaves:
private Task<? extends Serializable> createEndReplLogTask(...) {
      dependency(scope.rootTasks, replLogTask);

> Correct DAG for updating the for a database during bootstrap load
> ------------------------------------------------------------------------------
>                 Key: HIVE-17595
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>    Affects Versions: 3.0.0
>            Reporter: anishek
>            Assignee: anishek
>             Fix For: 3.0.0
>         Attachments: HIVE-17595.0.patch, HIVE-17595.1.patch, HIVE-17595.2.patch, HIVE-17595.3.patch
> We update the as a database property. This is done after all the bootstrap
tasks to load the relevant data are done and is the last task to be run. however we are currently
not setting up the DAG correctly for this task. This is getting added as the root task for
now where as it should be the last task to be run in a DAG. This becomes more important after
the inclusion of 
> HIVE-17426 since this will lead to parallel execution and incorrect DAG's will lead to
incorrect results/state of the system. 

This message was sent by Atlassian JIRA

View raw message