smarthanwang opened a new pull request #3645:
URL: https://github.com/apache/hadoop/pull/3645


   ### Description
   CopyFromLocal/Put is enabled to run with multi-thread with HDFS-11786 and 
HADOOP-14698, and make put dirs or multiple files faster.So, It's necessary to 
enable get and copyToLocal command run with multi-thread.
   
   ### Tests
   Test case: 1 dir 240 files  13G
   
   **1. Get with single thread.**
   
   ```
   time hadoop fs -get /tmp/data/20211101 .
   real    6m28.785s
   user    0m18.844s
   sys    0m44.953s
   ```
   **2. Get with 10 threads.**
   ```
   time hadoop fs -get -t 10 /tmp/data/20211101 .
   real    0m58.721s
   user    0m21.386s
   sys    0m54.066s
   ```
   
   
   
   


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

To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



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