code: @Override @Deprecated
    public FileStatus[] getCorruptFiles() throws IOException {
      CorruptFileBlocks corruptFileBlocks = listCorruptFileBlocks("/", null);
      Set<String> filePaths = new HashSet<String>();
      for (String file : corruptFileBlocks.getFiles()) {
        filePaths.add(file);
      }
  
      List<FileStatus> fileStatuses = new ArrayList<FileStatus>(filePaths.size());
      for (String f: filePaths) {
        FileStatus fs = getFileInfo(f);
        if (fs != null)
          LOG.info("found fs for " + f);
        else
          LOG.info("found no fs for " + f);
        fileStatuses.add(fs);
      }
      return fileStatuses.toArray(new FileStatus[fileStatuses.size()]);
    }
docs: {@inheritDoc}
  
  implement old API for backwards compatibility