[
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
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.
> Enhance S3A openFile()
> ----------------------
>
> Key: HADOOP-16202
> URL: https://issues.apache.org/jira/browse/HADOOP-16202
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: fs/s3
> Affects Versions: 3.3.0
> Reporter: Steve Loughran
> Assignee: Steve Loughran
> Priority: Major
> Labels: pull-request-available
> Time Spent: 1h 20m
> 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
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]