HDFS-17144. Remove incorrect comment in method storeAllocatedBlock. (#5932)
Signed-off-by: Tao Li <tomscut@apache.org>
This commit is contained in:
parent
bc48e5cbe8
commit
b5b9a81538
@ -251,7 +251,6 @@ static LocatedBlock storeAllocatedBlock(FSNamesystem fsn, String src,
|
|||||||
fsn.commitOrCompleteLastBlock(pendingFile, fileState.iip,
|
fsn.commitOrCompleteLastBlock(pendingFile, fileState.iip,
|
||||||
ExtendedBlock.getLocalBlock(previous));
|
ExtendedBlock.getLocalBlock(previous));
|
||||||
|
|
||||||
// allocate new block, record block locations in INode.
|
|
||||||
final BlockType blockType = pendingFile.getBlockType();
|
final BlockType blockType = pendingFile.getBlockType();
|
||||||
// allocate new block, record block locations in INode.
|
// allocate new block, record block locations in INode.
|
||||||
Block newBlock = fsn.createNewBlock(blockType);
|
Block newBlock = fsn.createNewBlock(blockType);
|
||||||
|
Loading…
Reference in New Issue
Block a user