code: public void commitJob(JobContext context) throws IOException {
      // delete the _temporary folder
      cleanupJob(context);
      // check if the o/p dir should be marked
      if (shouldMarkOutputDir(context.getConfiguration())) {
        // create a _success file in the o/p folder
        markOutputDirSuccessful(context);
      }
    }
docs: Delete the temporary directory, including all of the work directories.
  This is called for all jobs whose final run state is SUCCEEDED
  @param context the job's context.