You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Todd Lipcon (Created) (JIRA)" <ji...@apache.org> on 2012/02/29 02:42:08 UTC

[jira] [Created] (HDFS-3029) Piggyback allocation of first block with create() call

Piggyback allocation of first block with create() call
------------------------------------------------------

                 Key: HDFS-3029
                 URL: https://issues.apache.org/jira/browse/HDFS-3029
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: hdfs client, name-node, performance
            Reporter: Todd Lipcon


Currently to create a file, the client makes two requests: the first to create the file, the second to allocate the block. In an HA setup, both of these necessitate a sync of the edit logs. In all setups, it requires an unnecessary round trip. We should consider piggy-backing the allocation of the first block with the create() call since it will be needed almost all the time.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira