public boolean commitResource(JobConf conf) {
try {
DomainStore dstore = getDomainStore();
dstore.getFileSystem().mkdirs(new Path(newVersionPath));
dstore.succeedVersion(newVersionPath);
return true;
} catch (IOException e) {
throw new TapException("Couldn't finalize new elephant domain version", e);