hmangla98 commented on a change in pull request #2650:
URL: https://github.com/apache/hive/pull/2650#discussion_r710922922
##########
File path:
shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java
##########
@@ -1131,7 +1131,7 @@ public void setStoragePolicy(Path path,
StoragePolicyValue policy)
}
}
if (needToAddPreserveOption) {
- params.add("-pbx");
+ params.add("-pb"); //Only Block Size will be preserved.
Review comment:
Change done.
##########
File path:
shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java
##########
@@ -1273,8 +1272,6 @@ public boolean runDistCpWithSnapshots(String oldSnapshot,
String newSnapshot, Li
}
} catch (Exception e) {
throw new IOException("Cannot execute DistCp process: ", e);
- } finally {
- conf.setBoolean("mapred.mapper.new-api", false);
Review comment:
Added
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]