Addendum fix for HDFS-8323 (adding back a mistakenly deleted line).

This commit is contained in:
Zhe Zhang 2015-07-08 22:52:09 -07:00
parent 2c494a8436
commit 42a1d0dbde

View File

@ -5827,6 +5827,8 @@ LocatedBlock bumpBlockGenerationStamp(ExtendedBlock block,
locatedBlock = BlockManager.newLocatedBlock( locatedBlock = BlockManager.newLocatedBlock(
block, file.getLastBlock(), null, -1); block, file.getLastBlock(), null, -1);
blockManager.setBlockToken(locatedBlock,
BlockTokenIdentifier.AccessMode.WRITE);
} finally { } finally {
writeUnlock(); writeUnlock();
} }