[ https://issues.apache.org/jira/browse/HADOOP-7269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13040165#comment-13040165 ]
Nicholas Telford commented on HADOOP-7269: ------------------------------------------ Totally missed that. As requested, tested: {noformat} $ ant -Dtestcase=Jets3tNativeS3FileSystemContractTest test ... [junit] Running org.apache.hadoop.fs.s3native.Jets3tNativeS3FileSystemContractTest [junit] Tests run: 37, Failures: 0, Errors: 0, Time elapsed: 155.312 sec ... BUILD SUCCESSFUL Total time: 3 minutes 2 seconds {noformat} I ran this before and after applying the patch, the results were the same. > S3 Native should allow customizable file meta-data (headers) > ------------------------------------------------------------ > > Key: HADOOP-7269 > URL: https://issues.apache.org/jira/browse/HADOOP-7269 > Project: Hadoop Common > Issue Type: Improvement > Components: fs/s3 > Reporter: Nicholas Telford > Assignee: Nicholas Telford > Priority: Minor > Attachments: HADOOP-7269-S3-metadata-001.diff, > HADOOP-7269-S3-metadata-002.diff, HADOOP-7269-S3-metadata-003.diff > > > The S3 Native FileSystem currently writes all files with a set of default > headers: > * Content-Type: binary/octet-stream > * Content-Length: <computed from object size> > * Content-MD5: <computed from object data> > This is a good start, however many applications would benefit from the > ability to customize (for example) the Content-Type and Expires headers for > the file. Ideally the implementation should be abstract enough to customize > all of the available S3 headers and provide a facility for other FileSystems > to specify optional file metadata. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira