Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
During the block recovery for the truncate, include the newblock Id in case copy-on-truncate set to true.
Current log message is just as below.
NameNode at /127.0.0.1:55036 calls recoverBlock(BP-409377067-xx.xx.xx.253-1429679063755:blk_1073741825_1001, targets=[DatanodeInfoWithStorage[127.0.0.1:55045,null,null]], newGenerationStamp=1002)