You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by GitBox <gi...@apache.org> on 2021/03/31 04:46:34 UTC

[GitHub] [hive] ayushtkn commented on a change in pull request #2083: HIVE-24895. Add a DataCopyEnd stage in ReplStateLogTask for external table replication.

ayushtkn commented on a change in pull request #2083:
URL: https://github.com/apache/hive/pull/2083#discussion_r604590431



##########
File path: ql/src/java/org/apache/hadoop/hive/ql/exec/repl/DirCopyTask.java
##########
@@ -182,6 +183,13 @@ public int execute() {
       Exception ex = new SecurityException(ErrorMsg.REPL_RETRY_EXHAUSTED.format(e.getMessage()), e);
       setException(ex);
       return ReplUtils.handleException(true, ex, work.getDumpDirectory(), work.getMetricCollector(), getName(), conf);
+    } finally {
+      String jobId = conf.get("distcp.job.id", "UNAVAILABLE");
+      LOG.info("Completed DirCopyTask for source: {} to  target: {}. Took {}"

Review comment:
       Yeps for the Dir Task, As discussed have added a marker at the start as well




-- 
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



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org