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)

Reply via email to