getCorruptFiles() should double check blocks that are not really corrupted --------------------------------------------------------------------------
Key: HDFS-1259 URL: https://issues.apache.org/jira/browse/HDFS-1259 Project: Hadoop HDFS Issue Type: Bug Components: name-node Affects Versions: 0.22.0 Reporter: Rodrigo Schmidt Fix For: 0.22.0 the getCorruptFiles() api is based on blocks that are in the queue of under-replicated blocks. However, this queue might be outdated and report blocks that are safe, specially during restarts when block reports might get delayed. getCorruptFiles() should double check if the block is really corrupted based on blocksMap before reporting it. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.