Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.0.0-alpha1
-
-
Incompatible change, Reviewed
-
Description
In the situation where the block lost all its replicas, fsck shows the block is missing as well as corrupted. Perhaps it is better not to mark the block corrupted in this case. The reason it is marked as corrupted is numCorruptNodes == numNodes == 0 in the following code.
BlockManager final boolean isCorrupt = numCorruptNodes == numNodes;
Would like to clarify if it is the intent to mark missing block as corrupted or it is just a bug.