Steve Loughran created HADOOP-13853:
---------------------------------------

             Summary: S3ADataBlocks.DiskBlock to lazy create dest file for 
faster 0-byte puts
                 Key: HADOOP-13853
                 URL: https://issues.apache.org/jira/browse/HADOOP-13853
             Project: Hadoop Common
          Issue Type: Sub-task
          Components: fs/s3
    Affects Versions: 2.8.0
            Reporter: Steve Loughran
            Priority: Minor


Looking at traces of work, there's invariably a PUT of a _SUCCESS at the end, 
which, with disk output, adds the overhead of creating, writing to and then 
reading a 0 byte file.

With a lazy create, the creation could be postponed until the first write, with 
special handling in the {{startUpload()}} operation to return a null stream, 
rather than reopen the file. Saves on some disk IO: create, read, delete



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to