Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-2889 Address remaining OYA issues
  3. OOZIE-2686

OYA: Find places where to add MR specific classes/configs instead of handling them in JavaActionExecutor

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Critical
    • Resolution: Duplicate
    • 5.0.0
    • None
    • None
    • None

    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:
                // FIXME - think about this!
                Element e = actionXml.getChild("config-class", ns);
                if (e != null) {
                    conf.set(LauncherMapper.OOZIE_ACTION_CONFIG_CLASS, e.getTextTrim());
                }
        
      • MR jars are added in JavaActionExecutor.createAppSubmissionContext
                ClasspathUtils.addMapReduceToClasspath(env, launcherJobConf);
        
      • logging setup in JavaActionExecutor.createAppSubmissionContext and in LauncherAM has to be worked on.

      Attachments

        Issue Links

          Activity

            People

              pbacsko Peter Bacsko
              gezapeti Gézapeti
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: