Description
Currently CorruptReplicasMap uses Block as its key and records the list of DataNodes with corrupted replicas. For Erasure Coding since a striped block group contains multiple internal blocks with different block ID, we should use BlockInfo as the key.
HDFS-8619 is the jira to fix this for EC. To ease merging we will use jira to first make changes in trunk/branch-2.