Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.8.0
-
None
-
S3A now defaults to using the "v2" S3 list API, which speeds up large-scale path listings. Non-AWS S3 implementations may not support this API: consult the S3A documentation on how to revert to the v1 API.
Description
Unlike version 1 of the S3 List Objects API, version 2 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).
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.
Attachments
Attachments
Issue Links
- breaks
-
HADOOP-16228 Throwing OOM exception for ListStatus (v2) when using S3A with non S3-compatible service
- Resolved
- depends upon
-
HADOOP-13050 Upgrade to AWS SDK 1.11.45
- Resolved
- is depended upon by
-
HADOOP-14710 Uber-JIRA: Support AWS Snowball
- Open
- is related to
-
HADOOP-13811 s3a: getFileStatus fails with com.amazonaws.AmazonClientException: Failed to sanitize XML document destined for handler class
- Resolved
-
HADOOP-16942 S3A creating folder level delete markers
- Resolved