JobMetadata childJobMetadata = tx.createJob(jobMetadata);
childJobMetadata.setName("faunusHadoopJob");
childJobMetadata.setState(JobMetadata.DONE);
childJobMetadata.setProgress(1.0f);
childJobMetadata.setMapreduceJobId(hadoopJobId.toString());
tx.commit();
jobMap.put(hadoopJobId, childJobMetadata.getId());
}
}
}