[
https://issues.apache.org/jira/browse/HADOOP-17998?focusedWorklogId=680144&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-680144
]
ASF GitHub Bot logged work on HADOOP-17998:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 11/Nov/21 04:14
Start Date: 11/Nov/21 04:14
Worklog Time Spent: 10m
Work Description: 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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 680144)
Remaining Estimate: 0h
Time Spent: 10m
> Enable get command run with multi-thread
> ----------------------------------------
>
> Key: HADOOP-17998
> URL: https://issues.apache.org/jira/browse/HADOOP-17998
> Project: Hadoop Common
> Issue Type: Improvement
> Components: fs
> Affects Versions: 3.3.1
> Reporter: Chengwei Wang
> Priority: Major
> Attachments: HADOOP-17998.001.patch, HADOOP-17998.002.patch
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]