You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2017/12/08 10:13:00 UTC

[jira] [Commented] (HADOOP-13853) S3ADataBlocks.DiskBlock to lazy create dest file for faster 0-byte puts

    [ https://issues.apache.org/jira/browse/HADOOP-13853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16283305#comment-16283305 ] 

Steve Loughran commented on HADOOP-13853:
-----------------------------------------

In HADOOP-13786 the success marker is non empty. However, possibly some merits for any touch() operation

> 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.4.14#64029)

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