[
https://issues.apache.org/jira/browse/HADOOP-19256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17925609#comment-17925609
]
ASF GitHub Bot commented on HADOOP-19256:
-----------------------------------------
steveloughran commented on PR #7362:
URL: https://github.com/apache/hadoop/pull/7362#issuecomment-2648352715
Tested: S3 london, `-Dparallel-tests -DtestsThreadCount=9`
One failure due to SDK update not telling us off any more.
```
[ERROR] Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:
6.152 s <<< FAILURE! - in org.apache.hadoop.fs.s3a.impl.ITestAwsSdkWorkarounds
[ERROR]
testNoisyLogging(org.apache.hadoop.fs.s3a.impl.ITestAwsSdkWorkarounds) Time
elapsed: 2.318 s <<< FAILURE!
java.lang.AssertionError:
[LOG output does not contain the forbidden text. Has the SDK been fixed?]
Expecting:
<"">
to contain:
<"The provided S3AsyncClient is an instance of MultipartS3AsyncClient">
at
org.apache.hadoop.fs.s3a.impl.ITestAwsSdkWorkarounds.testNoisyLogging(ITestAwsSdkWorkarounds.java:100)
+ test timeout of ITestS3APrefetchingLruEviction.testSeeksWithLruEviction
```
> S3A: Support S3 Conditional Writes
> ----------------------------------
>
> Key: HADOOP-19256
> URL: https://issues.apache.org/jira/browse/HADOOP-19256
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: fs/s3
> Reporter: Ahmar Suhail
> Priority: Major
> Labels: pull-request-available
>
> S3 Conditional Write (Put-if-absent) capability is now generally available -
> [https://aws.amazon.com/about-aws/whats-new/2024/08/amazon-s3-conditional-writes/]
>
> S3A should allow passing in this put-if-absent header to prevent over writing
> of files.
> There is a feature branch for this: HADOOP-19256-s3-conditional-writes
> + support etags to allow an overwrite to be restricted to overwriting a
> specific version. This can be done through a createFile option.
> https://docs.aws.amazon.com/AmazonS3/latest/userguide/conditional-writes.html
> Fun fact; third party stores will not reject overwrites if they don't
> recognise the headers, so there's no way to be sure they are supported
> without testing.
> we need a flag to enable/disable conditional writes which can be exposed in a
> hasPathCapability()
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]