You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Ayush Saxena (Jira)" <ji...@apache.org> on 2021/02/16 13:05:00 UTC
[jira] [Created] (HADOOP-17531) DistCp: Reduce memory usage on
copying huge directories
Ayush Saxena created HADOOP-17531:
-------------------------------------
Summary: DistCp: Reduce memory usage on copying huge directories
Key: HADOOP-17531
URL: https://issues.apache.org/jira/browse/HADOOP-17531
Project: Hadoop Common
Issue Type: Improvement
Reporter: Ayush Saxena
Presently distCp, uses the producer-consumer kind of setup while building the listing, the input queue and output queue are both unbounded, thus the listStatus grows quite huge.
Rel Code Part :
https://github.com/apache/hadoop/blob/trunk/hadoop-tools/hadoop-distcp/src/main/java/org/apache/hadoop/tools/SimpleCopyListing.java#L635
This goes on bredth-first traversal kind of stuff, so if you have files at lower depth, it will like open up the entire tree....
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org