steveloughran opened a new pull request #2046:
URL: https://github.com/apache/hadoop/pull/2046


   * s3a fs will use any FileStatus passed in to openFile...needed for 
mount/wrapped FS
   * and supports an option "fs.s3a.open.option.length" to set the length 
-which will also trigger the HEAD being skipped
   * builder spec updated to say status path is ignored
   * add tracking of all option keynames passed to builder.
   
   I had intended to support etag and version but its too tricky...you'd also 
need to supply the length or you issue HEAD with the given etag/version to 
extract that param too. The tracking of all option keys was for that. Not yet 
used -but left for others
   
   needs new tests
   
   -pass in status with different path (in contract)
   -new option skips HEAD request (trivial test -open missing file, seek to 
below declared length, only expect failure on read())


----------------------------------------------------------------
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.

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