private void finalizeYarnJob() {
if (conf.isPureYarnJob() && graphTaskManager.isMaster() &&
conf.getVertexOutputFormatClass() != null) {
try {
LOG.info("Master is ready to commit final job output data.");
VertexOutputFormat vertexOutputFormat =
conf.createWrappedVertexOutputFormat();
OutputCommitter outputCommitter =
vertexOutputFormat.getOutputCommitter(proxy);
// now we will have our output in OUTDIR if all went well...
outputCommitter.commitJob(proxy);
LOG.info("Master has committed the final job output data.");
} catch (InterruptedException ie) {
LOG.error("Interrupted while attempting to obtain " +