Skip to content

Commit b5b9a81

Browse files
HDFS-17144. Remove incorrect comment in method storeAllocatedBlock. (#5932)
Signed-off-by: Tao Li <tomscut@apache.org>
1 parent bc48e5c commit b5b9a81

File tree

1 file changed

+0
-1
lines changed
  • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode

1 file changed

+0
-1
lines changed

hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirWriteFileOp.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,6 @@ static LocatedBlock storeAllocatedBlock(FSNamesystem fsn, String src,
251251
fsn.commitOrCompleteLastBlock(pendingFile, fileState.iip,
252252
ExtendedBlock.getLocalBlock(previous));
253253

254-
// allocate new block, record block locations in INode.
255254
final BlockType blockType = pendingFile.getBlockType();
256255
// allocate new block, record block locations in INode.
257256
Block newBlock = fsn.createNewBlock(blockType);

0 commit comments

Comments
 (0)