hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Fabbri (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-13421) Switch to v2 of the S3 List Objects API in S3A
Date Wed, 06 Sep 2017 22:00:01 GMT

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

Aaron Fabbri updated HADOOP-13421:
    Attachment: HADOOP-13421.003.patch

Attaching v3 patch.  Changes from v2:

- Use an integer instead of boolean for config as suggested by [~stevel@apache.org].
- Skip testInconsistentS3ClientDeletes() test case when v1 list is configured.
- Checkstyle cleanups.

Testing (in us-west-2):
- All integration tests w/ v2
- All integration tests w/ v2 + s3guard
- All integration tests w/ v1 configured.

No failures.

> Switch to v2 of the S3 List Objects API in S3A
> ----------------------------------------------
>                 Key: HADOOP-13421
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13421
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>    Affects Versions: 2.8.0
>            Reporter: Steven K. Wong
>            Assignee: Aaron Fabbri
>            Priority: Minor
>         Attachments: HADOOP-13421.002.patch, HADOOP-13421.003.patch, HADOOP-13421-HADOOP-13345.001.patch
> Unlike [version 1|http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGET.html]
of the S3 List Objects API, [version 2|http://docs.aws.amazon.com/AmazonS3/latest/API/v2-RESTBucketGET.html]
by default does not fetch object owner information, which S3A doesn't need anyway. By switching
to v2, there will be less data to transfer/process. Also, it should be more robust when listing
a versioned bucket with "a large number of delete markers" ([according to AWS|https://aws.amazon.com/releasenotes/Java/0735652458007581]).
> Methods in S3AFileSystem that use this API include:
> * getFileStatus(Path)
> * innerDelete(Path, boolean)
> * innerListStatus(Path)
> * innerRename(Path, Path)
> Requires AWS SDK 1.10.75 or later.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org

View raw message