Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Incompatible change, Reviewed
Description
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