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 "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/03/02 07:32:00 UTC

[jira] [Work logged] (HADOOP-17531) DistCp: Reduce memory usage on copying huge directories

     [ https://issues.apache.org/jira/browse/HADOOP-17531?focusedWorklogId=559838&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-559838 ]

ASF GitHub Bot logged work on HADOOP-17531:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 02/Mar/21 07:31
            Start Date: 02/Mar/21 07:31
    Worklog Time Spent: 10m 
      Work Description: ayushtkn opened a new pull request #2732:
URL: https://github.com/apache/hadoop/pull/2732


   https://issues.apache.org/jira/browse/HADOOP-17531


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


Issue Time Tracking
-------------------

            Worklog Id:     (was: 559838)
    Remaining Estimate: 0h
            Time Spent: 10m

> 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
>            Priority: Critical
>         Attachments: MoveToStackIterator.patch, gc-NewD-512M-3.8ML.log
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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(uses queue instead of earlier stack), so if you have files at lower depth, it will like open up the entire tree and the start processing....



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