HashMap<Integer, Integer> corruptBlocksPerStripe =
new LinkedHashMap<Integer, Integer>();
boolean fileCorrupt = false;
// Har checking requires one more RPC to namenode per file
// skip it for performance.
RaidInfo raidInfo = RaidUtils.getFileRaidInfo(fileStat, conf, true);
if (raidInfo.codec == null) {
raidInfo = RaidUtils.getFileRaidInfo(fileStat, conf, false);
}
if (raidInfo.codec == null) {
// Couldn't find out the parity file, so the file is corrupt