code: @Deprecated
    public void deleteLocalFiles() throws IOException {
      String[] localDirs = getLocalDirs();
      for (int i = 0; i < localDirs.length; i++) {
        FileSystem.getLocal(this).delete(new Path(localDirs[i]));
      }
    }
docs: Use MRAsyncDiskService.moveAndDeleteAllVolumes instead.
  @see org.apache.hadoop.util.MRAsyncDiskService#cleanupAllVolumes()