code: private void cleanUpWorkingDirectory() {
      try {
        if (this.fs.exists(this.mrJobDir)) {
          this.fs.delete(this.mrJobDir, true);
          LOG.info("Deleted working directory " + this.mrJobDir);
        }
      } catch (IOException ioe) {
        LOG.error("Failed to delete working directory " + this.mrJobDir);
      }
    }
docs: Cleanup the Hadoop MR working directory.