MapReduceMain.setStrings(jobConf, ShellMain.CONF_OOZIE_SHELL_ENVS,
new String[] { "var1=value1", "var2=value2" });
File actionXml = new File(getTestCaseDir(), "action.xml");
FileOutputStream os = new FileOutputStream(actionXml);
jobConf.writeXml(os);
os.close();
setSystemProperty("oozie.launcher.job.id", "" + System.currentTimeMillis());
setSystemProperty("oozie.action.conf.xml", actionXml.getAbsolutePath());