[ 
https://issues.apache.org/jira/browse/HADOOP-16202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Loughran updated HADOOP-16202:
------------------------------------
    Description: 
The {{openFile()}} builder API lets us add new options when reading a file

Add an option {{"fs.s3a.open.option.length"}} which takes a long and allows the 
length of the file to be declared. If set, *no check for the existence of the 
file is issued when opening the file*

Also: withFileStatus() to take any FileStatus implementation, rather than only 
S3AFileStatus -and not check that the path matches the path being opened. 
Needed to support viewFS-style wrapping and mounting.

and Adopt where appropriate to stop clusters with S3A reads switched to random 
IO from killing download/localization

* fs shell copyToLocal
* distcp
* IOUtils.copy


h3. this patch MUST be followed by HADOOP-18410

  was:
The {{openFile()}} builder API lets us add new options when reading a file

Add an option {{"fs.s3a.open.option.length"}} which takes a long and allows the 
length of the file to be declared. If set, *no check for the existence of the 
file is issued when opening the file*

Also: withFileStatus() to take any FileStatus implementation, rather than only 
S3AFileStatus -and not check that the path matches the path being opened. 
Needed to support viewFS-style wrapping and mounting.

and Adopt where appropriate to stop clusters with S3A reads switched to random 
IO from killing download/localization

* fs shell copyToLocal
* distcp
* IOUtils.copy


> Enhance openFile() for better read performance against object stores 
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-16202
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16202
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs, fs/s3, tools/distcp
>    Affects Versions: 3.3.0
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.4.0, 3.3.9
>
>          Time Spent: 23h 10m
>  Remaining Estimate: 0h
>
> The {{openFile()}} builder API lets us add new options when reading a file
> Add an option {{"fs.s3a.open.option.length"}} which takes a long and allows 
> the length of the file to be declared. If set, *no check for the existence of 
> the file is issued when opening the file*
> Also: withFileStatus() to take any FileStatus implementation, rather than 
> only S3AFileStatus -and not check that the path matches the path being 
> opened. Needed to support viewFS-style wrapping and mounting.
> and Adopt where appropriate to stop clusters with S3A reads switched to 
> random IO from killing download/localization
> * fs shell copyToLocal
> * distcp
> * IOUtils.copy
> h3. this patch MUST be followed by HADOOP-18410



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to