[ 
https://issues.apache.org/jira/browse/HADOOP-17983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17436087#comment-17436087
 ] 

Steve Loughran commented on HADOOP-17983:
-----------------------------------------

one thing on the infinite todo list is for s3a to implement the builder 
createFile() api which lets you add key-value options to the file being created.

if you did that you could add some pattern which would be recognised as an 
option

HADOOP-17851 originally asked for this too; was scaled back to content-type

> S3AFileSystem to add object tags on a PutObjectRequest to S3
> ------------------------------------------------------------
>
>                 Key: HADOOP-17983
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17983
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs/s3
>    Affects Versions: 3.3.1
>            Reporter: Chris Wensel
>            Priority: Minor
>
> AWS S3 lifecycle rules can filter on object tags allowing for data retention 
> policies to be more granular than a bucket or prefix.
>  
> It would be useful if during write, tags could be applied to the 
> PutObjectRequest.
>  
> For our use-case, we are simply writing Parquet files through S3A to a target 
> bucket, without a cluster. I believe a Configuration property would be 
> sufficient for our needs.
>  
> But i'm unsure what the general use case would be for a HDFS cluster and the 
> user wanted unique tags per job.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to