[
https://issues.apache.org/jira/browse/HADOOP-19256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17876056#comment-17876056
]
Viraj Jasani edited comment on HADOOP-19256 at 8/22/24 7:12 PM:
----------------------------------------------------------------
{quote}we have *exactly* this for openFile() and createFile()
{quote}
Ah you mean openFileWithOptions() category of APIs right? i missed this, never
got to explore this API.
{quote}is a new SDK needed here?
{quote}
i skimmed through docs yesterday and it seems the docs do not mention anything
about new SDK. Also, the options to provide these params in header are already
available in the SDK we use e.g. we use ifMatch() for default
ChangeDetectionPolicy.
was (Author: vjasani):
{quote}we have *exactly* this for openFile() and createFile()
{quote}
Ah you mean openFileWithOptions() category of APIs right? i missed this, never
got to explore this API.
{quote}is a new SDK needed here?
{quote}
i skimmed through docs yesterday and it seems the docs do not mention anything
about new SDK. Also, the options to provide these params in header are already
available in the SDK we use.
> 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
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]