throws IOException, InterruptedException {
HadoopUtils.setWorkOutputDir(taskAttemptContext);
Configuration conf = taskAttemptContext.getConfiguration();
JobConf jobConf = new JobConf(conf);
OutputCommitter baseCommitter = jobConf.getOutputCommitter();
return new HiveApiOutputCommitter(baseCommitter, myProfileId);
}