code: @Override
  	public void close() throws IOException {
  		this.recordWriter.close(new DummyHadoopReporter());
  		if (this.fileOutputCommitterWrapper.needsTaskCommit(this.jobConf, TaskAttemptID.forName(this.jobConf.get("mapred.task.id")))) {
  			this.fileOutputCommitterWrapper.commitTask(this.jobConf, TaskAttemptID.forName(this.jobConf.get("mapred.task.id")));
  		}
  	//TODO: commitjob when all the tasks are finished
  	}
docs: commit the task by moving the output file out from the temporary directory.
  @throws IOException