[ 
https://issues.apache.org/jira/browse/OOZIE-2686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Cseh updated OOZIE-2686:
------------------------------
    Description: 
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}
* logging setup in JavaActionExecutor.createAppSubmissionContext  and in 
LauncherAM has to be worked on.

  was:
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}


> 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}
> * logging setup in JavaActionExecutor.createAppSubmissionContext  and in 
> LauncherAM has to be worked on.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to