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

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

                Author: ASF GitHub Bot
            Created on: 10/Nov/20 06:57
            Start Date: 10/Nov/20 06:57
    Worklog Time Spent: 10m 
      Work Description: aasha commented on a change in pull request #1648:
URL: https://github.com/apache/hive/pull/1648#discussion_r520332036



##########
File path: ql/src/java/org/apache/hadoop/hive/ql/parse/repl/CopyUtils.java
##########
@@ -82,27 +87,31 @@ public void copyAndVerify(Path destRoot, 
List<ReplChangeManager.FileInfo> srcFil
     }
     FileSystem sourceFs = srcFiles.get(0).getSrcFs();
     boolean useRegularCopy = regularCopy(sourceFs, srcFiles);
+    ExecutorService executorService = null;
     try {
       if (useRegularCopy || readSrcAsFilesList) {
+        executorService = Executors.newFixedThreadPool(maxParallelCopyTask);

Review comment:
       We can recommend them to use it. We will use distcp only if size > 32MB 
and count > 1. This is an already existing condition. This check is done later 
in the doCopy method. So if count of file is one and size < 32MB we anyways 
won't launch distcp.




----------------------------------------------------------------
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: 509548)
    Time Spent: 3h 10m  (was: 3h)

> Run distcp in parallel for all file entries in repl load.
> ---------------------------------------------------------
>
>                 Key: HIVE-24328
>                 URL: https://issues.apache.org/jira/browse/HIVE-24328
>             Project: Hive
>          Issue Type: Task
>            Reporter: Aasha Medhi
>            Assignee: Aasha Medhi
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HIVE-24328.01.patch
>
>          Time Spent: 3h 10m
>  Remaining Estimate: 0h
>




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

Reply via email to