use of org.apache.gobblin.util.ConfigUtils in project incubator-gobblin by apache.
the class GobblinTaskRunner method saveConfigToFile.
private Config saveConfigToFile(Config config) throws IOException {
Config newConf = config.withValue(CLUSTER_WORK_DIR, ConfigValueFactory.fromAnyRef(this.appWorkPath.toString()));
ConfigUtils configUtils = new ConfigUtils(new FileUtils());
configUtils.saveConfigToFile(newConf, CLUSTER_CONF_PATH);
return newConf;
}
Aggregations