jobContext.getConfiguration().set(HCONF_ATTR_CCONF, stringWriter.toString());
}
public CConfiguration getConf() {
CConfiguration conf = CConfiguration.create();
conf.addResource(new ByteArrayInputStream(jobContext.getConfiguration().get(HCONF_ATTR_CCONF).getBytes()));
return conf;
}
private void setTx(Transaction tx) {
jobContext.getConfiguration().set(HCONF_ATTR_NEW_TX, GSON.toJson(tx));