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

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

                Author: ASF GitHub Bot
            Created on: 16/Mar/21 06:30
            Start Date: 16/Mar/21 06:30
    Worklog Time Spent: 10m 
      Work Description: ayushtkn commented on pull request #2732:
URL: https://github.com/apache/hadoop/pull/2732#issuecomment-799991776


   Thanx @steveloughran for the review.
   Sorted the S3 stuff, The test passes:
   ```
   [INFO] -------------------------------------------------------
   [INFO]  T E S T S
   [INFO] -------------------------------------------------------
   [INFO] Running org.apache.hadoop.fs.contract.s3a.ITestS3AContractDistCp
   [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
679.069 s - in org.apache.hadoop.fs.contract.s3a.ITestS3AContractDistCp
   [INFO] 
   [INFO] Results:
   [INFO] 
   [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0
   [INFO] 
   [INFO] 
------------------------------------------------------------------------
   [INFO] BUILD SUCCESS
   [INFO] 
------------------------------------------------------------------------
   [INFO] Total time:  11:27 min
   [INFO] Finished at: 2021-03-16T11:49:50+05:30
   [INFO] 
------------------------------------------------------------------------
   ayushsaxena@ayushsaxena-MBP16 hadoop-aws % 
   ```
   
   Region: ap-south-1
   
   The newly added HDFS contract:
   
   ```
   [INFO] -------------------------------------------------------
   [INFO]  T E S T S
   [INFO] -------------------------------------------------------
   [INFO] Running 
org.apache.hadoop.tools.contract.OptionalTestHDFSContractDistCp
   [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
257.242 s - in org.apache.hadoop.tools.contract.OptionalTestHDFSContractDistCp
   [INFO] 
   [INFO] Results:
   [INFO] 
   [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0
   [INFO] 
   [INFO] 
------------------------------------------------------------------------
   [INFO] BUILD SUCCESS
   [INFO] 
------------------------------------------------------------------------
   [INFO] Total time:  04:26 min
   [INFO] Finished at: 2021-03-16T11:57:21+05:30
   [INFO] 
------------------------------------------------------------------------
   ```


----------------------------------------------------------------
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:
us...@infra.apache.org


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

    Worklog Id:     (was: 566737)
    Time Spent: 5h 40m  (was: 5.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: 5h 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: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to