NN should check a block's length even if the block is not a new block when
processing a blockreport
---------------------------------------------------------------------------------------------------
Key: HADOOP-4848
URL: https://issues.apache.org/jira/browse/HADOOP-4848
Project: Hadoop Core
Issue Type: Bug
Components: dfs
Affects Versions: 0.18.0
Reporter: Hairong Kuang
Priority: Blocker
Fix For: 0.18.3
If the block length does not match the one in the blockMap, we should mark the
block as corrupted. This could help clearing the polluted replicas caused by
HADOOP-4810 and also help detect the on-disk block gets truncated/enlarged
manually by accident.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.