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

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

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



##########
File path: ql/src/java/org/apache/hadoop/hive/ql/parse/repl/CopyUtils.java
##########
@@ -112,11 +121,34 @@ public void copyAndVerify(Path destRoot, 
List<ReplChangeManager.FileInfo> srcFil
         srcFiles.add(new ReplChangeManager.FileInfo(sourceFs, origSrcPath, 
null));
         doCopyRetry(sourceFs, srcFiles, destRoot, proxyUser, useRegularCopy, 
overwrite);
       }
+    } catch (InterruptedException e) {
+      LOG.error("Failed to copy ", e);
+      throw new 
IOException(ErrorMsg.REPL_FILE_SYSTEM_OPERATION_RETRY.getMsg());
     } finally {
       if (proxyUser != null) {
         FileSystem.closeAllForUGI(proxyUser);
       }
+      if (executorService != null) {

Review comment:
       Please explain. This is in the finally block where it will always be 
executed.




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


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

    Worklog Id:     (was: 509491)
    Time Spent: 1h 10m  (was: 1h)

> 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: 1h 10m
>  Remaining Estimate: 0h
>




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

Reply via email to