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

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

                Author: ASF GitHub Bot
            Created on: 22/Mar/21 21:52
            Start Date: 22/Mar/21 21:52
    Worklog Time Spent: 10m 
      Work Description: steveloughran commented on pull request #2732:
URL: https://github.com/apache/hadoop/pull/2732#issuecomment-804420292


   LGTM. 
   
   I'm going to make one final change, but +1 this PR pending that change 
anyway.
   
   Can you put the CommonCallableSupplier into 
`org.apache.hadoop.util.functional` . Sorry, should have thought of this 
earlier.
   
   Thats where I'm trying to unify the API for functional APIs in hadoop with 
IOE support -and this is clearly part of it.
   
   Nothing else, just a move of the class. 
   
   +1 pending that change.


-- 
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:
[email protected]


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

    Worklog Id:     (was: 570075)
    Time Spent: 6h 40m  (was: 6.5h)

> 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
>            Assignee: Ayush Saxena
>            Priority: Critical
>              Labels: pull-request-available
>         Attachments: MoveToStackIterator.patch, gc-NewD-512M-3.8ML.log
>
>          Time Spent: 6h 40m
>  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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to