// Now corrupt and fix the parity file.
FileStatus parityStat = fileSys.getFileStatus(parityFile);
long parityCrc = getCRC(fileSys, parityFile);
locations = RaidDFSUtil.getBlockLocations(
dfs, parityFile.toUri().getPath(), 0, parityStat.getLen());
corruptBlock(locations.get(0).getBlock().getBlockName());
TestBlockFixer.reportCorruptBlocks(fileSys, parityFile, new int[]{0},
srcStat.getBlockSize());
waitForCorruptBlocks(1, dfs, parityFile);