KevinWikant commented on PR #4568:
URL: https://github.com/apache/hadoop/pull/4568#issuecomment-1239583304

   More abstractly the conditions to reproduce the issue are:
   - block is sufficiently replicated (because [this code 
path](https://github.com/apache/hadoop/blob/a5adc27c99ffa0ee4f274276afd38f0e7367b9d2/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java#L3693)
 needs to be invoked)
   - block has at least 1 corrupt replica which has been sent to the Namenode 
in a Block Report but which was not invalidated because of [postponing 
invalidation 
logic](https://github.com/apache/hadoop/blob/a5adc27c99ffa0ee4f274276afd38f0e7367b9d2/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java#L1986)
   - a datanode sends a block report which contains a different GenerationStamp 
than the corrupt replica. This should generally be any datanode, except for the 
case where another datanode has a corrupt replica with the same Generation 
Stamp.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to