@Override
    public OutputCommitter getOutputCommitter(TaskAttemptContext context) {
      return new OutputCommitter() {
        public void abortTask(TaskAttemptContext taskContext) {
        }

        public void cleanupJob(JobContext jobContext) {
        }

        public void commitJob(JobContext jobContext) {
        }

        public void commitTask(TaskAttemptContext taskContext) {
          Assert.fail("needsTaskCommit is false but commitTask was called");
        }

        public boolean needsTaskCommit(TaskAttemptContext taskContext) {
          return false;
        }

        public void setupJob(JobContext jobContext) {
        }

        public void setupTask(TaskAttemptContext taskContext) {
        }
      };
    }
Create a file for map input

@return absolute path of the file.
@throws IOException if any error encountered
hcatalog/core/src/test/java/org/apache/hive/hcatalog/mapreduce/TestMultiOutputFormat.java