[ https://issues.apache.org/jira/browse/HADOOP-19536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17944352#comment-17944352 ]
Steve Loughran commented on HADOOP-19536: ----------------------------------------- * would this be a bucket setting? * or in file creation tags can be changed, cant they? which means the xattr api should be used to get at them. * we already use xattr to read headers (though we got the naming of those attrs wrong in a way which complicates some apps) * we could extend this to allow get *and set* of tags > S3A : Add option for custom S3 tags while writing and deleting S3 objects > ------------------------------------------------------------------------- > > Key: HADOOP-19536 > URL: https://issues.apache.org/jira/browse/HADOOP-19536 > Project: Hadoop Common > Issue Type: Improvement > Components: fs/s3 > Reporter: Syed Shameerur Rahman > Priority: Major > > Custom S3 object > [tags|https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-tagging.html] > can be added to S3 objects while writing and deleting. > *Use Case:* > S3 tags can be used to categorize the > [objects|https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-tagging.html] > and potentially apply bucket level polices to take some actions. > For example : objects can be marked as "to-be-glacier" and based on some > bucket policy the written objects can be moved to Glacier tier after sometime > for cost savings. > Apache iceberg's [S3FileIO|#s3-tags]] also uses S3 Tags for soft deletes. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org