CommandLine cmdLine = parseArgs(context.getApplicationArguments());
hConf = new Configuration();
hConf.clear();
hConf.addResource(new File(configs.get("hConf")).toURI().toURL());
UserGroupInformation.setConfiguration(hConf);
<BUG>cConf = CConfiguration.create();
cConf.clear();
cConf.addResource(new File(configs.get("cConf")).toURI().toURL());
</BUG>
File templateDir = new File(cConf.get(Constants.AppFabric.APP_TEMPLATE_DIR));

CommandLine cmdLine = parseArgs(context.getApplicationArguments());
hConf = new Configuration();
hConf.clear();
hConf.addResource(new File(configs.get("hConf")).toURI().toURL());
UserGroupInformation.setConfiguration(hConf);
cConf = CConfiguration.create(new File(configs.get("cConf")).toURI().toURL());
File templateDir = new File(cConf.get(Constants.AppFabric.APP_TEMPLATE_DIR));
