You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Vinayakumar B (JIRA)" <ji...@apache.org> on 2014/10/08 11:48:33 UTC

[jira] [Created] (HDFS-7210) Avoid two separate RPC's namenode.append() and namenode.getFileInfo() for an append call from DFSClient

Vinayakumar B created HDFS-7210:
-----------------------------------

             Summary: Avoid two separate RPC's namenode.append() and namenode.getFileInfo() for an append call from DFSClient
                 Key: HDFS-7210
                 URL: https://issues.apache.org/jira/browse/HDFS-7210
             Project: Hadoop HDFS
          Issue Type: Improvement
            Reporter: Vinayakumar B
            Assignee: Vinayakumar B


Currently DFSClient does 2 RPCs to namenode for an append operation.

{{append()}} for re-opening the file and getting the last block, 
{{getFileInfo()}} Another on to get HdfsFileState

If we can combine result of these 2 calls and make one RPC, then it can reduce load on NameNode.

For the backward compatibility we need to keep existing {{append()}} call as is,  need to add one more. similar to {{rename2}}



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