[
https://issues.apache.org/jira/browse/OOZIE-2687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16165520#comment-16165520
]
Robert Kanter commented on OOZIE-2687:
--------------------------------------
I'm fine with doing the sharelib override in a followup JIRA. Generally, the
the thing with the highest priority has been the more specific one. For
example, config properties defined in an action's {{<configuration>}} have
priority over an action's {{<job-xml>}}, which has priority over the global
section's {{<configuration>}} and {{<job-xml>}}, which has priority over the
action defaults in oozie-site, and so on. However, you bring up a good point
that it might make sense for the sharelib to be additive instead of
overwriting. Though I can also see issues with that too (plus, it's
inconsistent with everything else).
> Create XML schema for launcher configurations
> ---------------------------------------------
>
> Key: OOZIE-2687
> URL: https://issues.apache.org/jira/browse/OOZIE-2687
> Project: Oozie
> Issue Type: Sub-task
> Affects Versions: 5.0.0
> Reporter: Peter Cseh
> Assignee: Attila Sasvari
> Priority: Critical
> Attachments: OOZIE-2687-001.patch, OOZIE-2687-002.patch,
> OOZIE-2687-003.patch, OOZIE-2687-008.patch, OOZIE-2687-009.patch,
> OOZIE-2687-010.patch, OOZIE-2687-011.patch
>
>
> It was possible to manipulate the MapperLauncher's environment through
> properties like:
> # mapreduce.map.memory.mb
> # mapreduce.map.cpu.vcores
> # mapred.child.env
> # mapred.child.java.opts
> # mapred.job.queue.name - ability to set launcher queue
> E.g. We were using mapred.child.env to pass SPARK_HOME to the LauncherMapper
> and make PySpark work.
> Fixing OOZIE-2596 added a hack. We should decide how we support or break
> compatibility and how we allow the manipulation of the Launcher environment.
> Verify if the new launcher section in global applies to actions in
> sub-workflows as well. It did not use to work before and was only fixed in
> OOZIE-2030. It would be good to have that testcase
> (TestSubWorkflowActionExecutor. testParentGlobalConf) updated with the new
> launcher section as well.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)