You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Robert Kanter (JIRA)" <ji...@apache.org> on 2015/09/30 00:03:04 UTC

[jira] [Updated] (OOZIE-2376) Default action configs not honored if no section in workflow

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

Robert Kanter updated OOZIE-2376:
---------------------------------
    Attachment: OOZIE-2376.001.patch

The patch mostly moves and dedupes some code around in how the default configs are added to the launcher job.  Previously, they were only done so in an if statement that checked for the existence of {{<configuration>}}, which is why this was broken before.  I also added a unit test.

> Default action configs not honored if no <configuration> section in workflow
> ----------------------------------------------------------------------------
>
>                 Key: OOZIE-2376
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2376
>             Project: Oozie
>          Issue Type: Bug
>    Affects Versions: trunk
>            Reporter: Robert Kanter
>            Assignee: Robert Kanter
>             Fix For: trunk
>
>         Attachments: OOZIE-2376.001.patch
>
>
> If you use {{oozie.service.HadoopAccessorService.action.configurations}} to specify a default configuration, and your action doesn't have a {{<configuration>}} section, Oozie won't insert the default configs into the launcher job.  It should always insert them.



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