steveloughran commented on PR #3289:
URL: https://github.com/apache/hadoop/pull/3289#issuecomment-1147670480

   
   Wrapping up createFile() with the ability to set headers on the file
   
   builder.must("fs.s3a.create.header.my-header","my-value");
   
   this will set a user metadata entry "my-header" which xattr will return
   as "header.my-header".
   
   This forced me to make PutOptions something passed around more rigorously and
   used as the parameter class to innerCreateFile. This is ultimately good as it
   lets us set new options later..encryption, storage class etc. if we so 
choose.
   
   also: s3a path capabilities let you probe for this prefix, as well as the
   performance one...think this should be the standard behaviour for custom 
options.
   
   also: fixed the various style/javadoc warnings


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to