[ 
https://issues.apache.org/jira/browse/HIVE-22997?focusedWorklogId=404441&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-404441
 ]

ASF GitHub Bot logged work on HIVE-22997:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 17/Mar/20 04:19
            Start Date: 17/Mar/20 04:19
    Worklog Time Spent: 10m 
      Work Description: pkumarsinha commented on pull request #951: HIVE-22997 
: Copy external table to target during Repl Dump operation
URL: https://github.com/apache/hive/pull/951#discussion_r393436614
 
 

 ##########
 File path: ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplDumpTask.java
 ##########
 @@ -367,13 +379,14 @@ private Long incrementalDump(Path dumpRoot, DumpMetaData 
dmd, Path cmRoot, Hive
             // Dump external table locations if required.
             if (TableType.EXTERNAL_TABLE.equals(table.getTableType())
                   && shouldDumpExternalTableLocation()) {
-              writer.dataLocationDump(table);
+              extTableLocations.addAll(writer.dataLocationDump(table));
             }
 
             // Dump the table to be bootstrapped if required.
             if (shouldBootstrapDumpTable(table)) {
               HiveWrapper.Tuple<Table> tableTuple = new HiveWrapper(hiveDb, 
dbName).table(table);
-              dumpTable(dbName, tableName, validTxnList, dbRoot, dumpRoot, 
bootDumpBeginReplId, hiveDb, tableTuple);
+              replPathMappings.addAll(dumpTable(dbName, tableName, 
validTxnList, dbRoot, dumpRoot, bootDumpBeginReplId,
 
 Review comment:
   That's the existing issue with the way current iterators are being used and 
the patch doesn't address that. May be later, we may want to solve that in 
general. May be by using some disk based iterators. Will file a tracking JIRA 
for that.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 404441)

> Copy external table to target during Repl Dump operation
> --------------------------------------------------------
>
>                 Key: HIVE-22997
>                 URL: https://issues.apache.org/jira/browse/HIVE-22997
>             Project: Hive
>          Issue Type: Task
>            Reporter: PRAVIN KUMAR SINHA
>            Assignee: PRAVIN KUMAR SINHA
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HIVE-22997.03.patch, HIVE-22997.04.patch, 
> HIVE-22997.1.patch, HIVE-22997.2.patch, HIVE-22997.4.patch, HIVE-22997.5.patch
>
>          Time Spent: 2h
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to