-
Notifications
You must be signed in to change notification settings - Fork 8.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HADOOP-17531. DistCp: Reduce memory usage on copying huge directories. (#2732). #2808
Conversation
🎊 +1 overall
This message was automatically generated. |
Ran the S3A and optional HDFS tests: [INFO] ------------------------------------------------------- AWS Region: ap-south-1 |
return submit(EXECUTOR, () -> { | ||
try (DurationInfo ignore = | ||
new DurationInfo(LOG, false, "Creating %s", path)) { | ||
createFile(fs, path, true, text.getBytes(Charsets.UTF_8)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
java.nio.charset.StandardCharsets.UTF_8 can be used instead of shaded guava.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 on the patch from me, but if @aajisaka has some feedback then let's address that as a followup on trunk before the backport. I think a followup-patch with the same JIRA ID would be enough for something that minor, and in -3.3 we'd just combine the pair |
@aajisaka does that make sense? Let me know your thoughts, Plan to conclude this by tomorrow EOD. |
…rectories. (apache#2820). Contributed by Ayush Saxena. Signed-off-by: Steve Loughran <stevel@apache.org>
🎊 +1 overall
This message was automatically generated. |
Merged both the main and the addendum commit as part of this PR, Thanx Everyone |
thanks! |
… directories. (apache#2808). Contributed by Ayush Saxena. * HADOOP-17531. DistCp: Reduce memory usage on copying huge directories. (apache#2732). * HADOOP-17531.Addendum: DistCp: Reduce memory usage on copying huge directories. (apache#2820) Signed-off-by: Steve Loughran <stevel@apache.org> Conflicts: hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/test/GenericTestUtils.java hadoop-tools/hadoop-distcp/src/test/java/org/apache/hadoop/tools/contract/AbstractContractDistCpTest.java (cherry picked from commit d86f94d18bd8b33cfc324b5638f12d9018c95d29) Signed-off-by: Arpit Agarwal <aagarwal@cloudera.com> Change-Id: Ieec8dbd96444dead3cd115f076a65444ca212a35
No description provided.