zchovan commented on a change in pull request #1501:
URL: https://github.com/apache/hive/pull/1501#discussion_r489471299



##########
File path: ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java
##########
@@ -4475,7 +4481,8 @@ public static boolean moveFile(final HiveConf conf, Path 
srcf, final Path destf,
         destFs.copyFromLocalFile(srcf, destf);
         return true;
       } else {
-        if (needToCopy(conf, srcf, destf, srcFs, destFs, configuredOwner, 
isManaged)) {
+        if (needToCopy(conf, srcf, destf, srcFs, destFs, configuredOwner, 
isManaged, isCompactionTable,
+            isMmCompactionTable)) {
           //copy if across file system or encryption zones.
           LOG.debug("Copying source " + srcf + " to " + destf + " because HDFS 
encryption zones are different.");

Review comment:
       Would it make sense to include the hashes for the fs instances in the 
debug logs? 




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



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

Reply via email to