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

        

Reply via email to