You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Peter Cseh (JIRA)" <ji...@apache.org> on 2016/09/26 11:53:20 UTC
[jira] [Created] (OOZIE-2686) Find places where to add MR specific
classes/configs instead of handling them in JavaActionExecutor
Peter Cseh created OOZIE-2686:
---------------------------------
Summary: Find places where to add MR specific classes/configs instead of handling them in JavaActionExecutor
Key: OOZIE-2686
URL: https://issues.apache.org/jira/browse/OOZIE-2686
Project: Oozie
Issue Type: Sub-task
Reporter: Peter Cseh
While work is in progress on OYA, we've introduced some MR specific things in JavaActionExecutor, which are probably not needed for every action.
Find the appropriate place for these:
* remove from JavaActionExecutor.createBaseHadoopConf:
{code}
// FIXME - think about this!
Element e = actionXml.getChild("config-class", ns);
if (e != null) {
conf.set(LauncherMapper.OOZIE_ACTION_CONFIG_CLASS, e.getTextTrim());
}
{code}
* MR jars are added in JavaActionExecutor.createAppSubmissionContext
{code}
ClasspathUtils.addMapReduceToClasspath(env, launcherJobConf);
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)