[
https://issues.apache.org/jira/browse/OOZIE-949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13469249#comment-13469249
]
James Kinley commented on OOZIE-949:
------------------------------------
These are the tests I've performed locally...
h6.1) Without the patch
{code:xml}
<property>
<name>mapred.job.name</name>
<value>mr-wordcount</value>
</property>
<property>
<name>oozie.launcher.mapred.job.name</name>
<value>mr-wordcount-launcher</value>
</property>
{code}
Job name:
{{oozie:action:T=map-reduce:W=example-workflow:A=mr-wordcount:ID=0000000-121004092956871-oozie-oozi-W}}
Launcher name:
{{oozie:launcher:T=map-reduce:W=example-workflow:A=mr-wordcount:ID=0000000-121004092956871-oozie-oozi-W}}
({{oozie.launcher.mapred.job.name}} is always overridden)
h6.2) With patch, job name only
{code:xml}
<property>
<name>mapred.job.name</name>
<value>mr-wordcount</value>
</property>
{code}
Job name: {{mr-wordcount}}
Launcher name:
{{oozie:launcher:T=map-reduce:W=example-workflow:A=mr-wordcount:ID=0000000-121004093751336-oozie-oozi-W}}
h6.3) With patch, launcher name only
{code:xml}
<property>
<name>oozie.launcher.mapred.job.name</name>
<value>mr-wordcount-launcher</value>
</property>
{code}
Job name:
{{oozie:action:T=map-reduce:W=example-workflow:A=mr-wordcount:ID=0000001-121004093751336-oozie-oozi-W}}
Launcher name: {{mr-wordcount-launcher}}
h6.4) With patch, both set
{code:xml}
<property>
<name>mapred.job.name</name>
<value>mr-wordcount</value>
</property>
<property>
<name>oozie.launcher.mapred.job.name</name>
<value>mr-wordcount-launcher</value>
</property>
{code}
Job name: {{mr-wordcount}}
Launcher name: {{mr-wordcount-launcher}}
> Allow the user to set 'mapred.job.name'
> ---------------------------------------
>
> Key: OOZIE-949
> URL: https://issues.apache.org/jira/browse/OOZIE-949
> Project: Oozie
> Issue Type: Improvement
> Components: action, core
> Affects Versions: 3.1.3
> Reporter: James Kinley
> Priority: Minor
> Labels: patch
> Fix For: trunk
>
> Attachments: OOZIE-949.patch, OOZIE-949-v2.patch, OOZIE-949-v3.patch
>
>
> Give user the ability to set {{mapred.job.name}} in their workflow job
> configuration and not have Oozie override it in
> {{JavaActionExecutor#submitLauncher()}}.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira