Details

Description

BlockManager.invalidateCorruptReplicas() iterates over DatanodeDescriptor-s while removing corrupt replicas from the descriptors. This causes ConcurrentModificationException if there is more than one replicas of the block. I ran into this exception debugging different scenarios in append, but it should be fixed in the trunk too.