Addendum fix for HDFS-8323 (adding back a mistakenly deleted line).
This commit is contained in:
parent
2c494a8436
commit
42a1d0dbde
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user