[
https://issues.apache.org/jira/browse/SPARK-17945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15577593#comment-15577593
]
Sean Owen commented on SPARK-17945:
-----------------------------------
You can just set this with the S3 APIs directly? this borders or something it's
not worth Spark passing-through just for S3 unless there's a common use case
for it and possibly other FSes
> Writing to S3 should allow setting object metadata
> --------------------------------------------------
>
> Key: SPARK-17945
> URL: https://issues.apache.org/jira/browse/SPARK-17945
> Project: Spark
> Issue Type: New Feature
> Components: Spark Core
> Affects Versions: 2.0.1
> Reporter: Jeff Schobelock
> Priority: Minor
>
> I can't find any possible way to use Spark to write to S3 and set user object
> metadata. This seems like such a simple thing that I feel I must be missing
> somewhere how to do it....but I have yet to find anything.
> I don't know what all work adding this would entail. My idea would be that
> there is something like:
> rdd.saveAsTextFile(s3://testbucket/file).withMetadata(Map<String,String>
> data).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]