hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (Jira)" <j...@apache.org>
Subject [jira] [Work logged] (HIVE-23539) Optimize data copy during repl load operation for HDFS based staging location
Date Thu, 11 Jun 2020 14:47:00 GMT

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

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

                Author: ASF GitHub Bot
            Created on: 11/Jun/20 14:46
            Start Date: 11/Jun/20 14:46
    Worklog Time Spent: 10m 
      Work Description: pkumarsinha commented on a change in pull request #1084:
URL: https://github.com/apache/hive/pull/1084#discussion_r438840991



##########
File path: ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/load/table/LoadTable.java
##########
@@ -297,17 +298,15 @@ static TableLocationTuple tableLocation(ImportTableDesc tblDesc, Database
parent
     LOG.debug("adding dependent CopyWork/AddPart/MoveWork for table "
             + table.getCompleteName() + " with source location: "
             + dataPath.toString() + " and target location " + tgtPath.toString());
-
-    Task<?> copyTask = ReplCopyTask.getLoadCopyTask(replicationSpec, dataPath, tmpPath,
context.hiveConf,
-            false, false);
+    Path moveSrcPath = performOnlyMove ? dataPath : tmpPath;

Review comment:
       moveSrcPath is the path used to perform move data to final warehouse dir on target.




----------------------------------------------------------------
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:
users@infra.apache.org


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

    Worklog Id:     (was: 444301)
    Time Spent: 1h  (was: 50m)

> Optimize data copy during repl load operation for HDFS based staging location
> -----------------------------------------------------------------------------
>
>                 Key: HIVE-23539
>                 URL: https://issues.apache.org/jira/browse/HIVE-23539
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Pravin Sinha
>            Assignee: Pravin Sinha
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HIVE-23539.01.patch
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>




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

Mime
View raw message