You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Peter Cseh (JIRA)" <ji...@apache.org> on 2018/05/07 20:45:00 UTC

[jira] [Commented] (OOZIE-2715) Provide possibility to set default values for properties of a particular action type

    [ https://issues.apache.org/jira/browse/OOZIE-2715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16466449#comment-16466449 ] 

Peter Cseh commented on OOZIE-2715:
-----------------------------------

This is already possible via the {{oozie.service.HadoopAccessorService.action.configurations]} property.  Check it's description here:
https://oozie.apache.org/docs/5.0.0/oozie-default.xml

> Provide possibility to set default values for properties of a particular action type
> ------------------------------------------------------------------------------------
>
>                 Key: OOZIE-2715
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2715
>             Project: Oozie
>          Issue Type: Wish
>          Components: action
>    Affects Versions: 4.2.0
>            Reporter: Istvan Vajnorak
>            Priority: Major
>
> When it comes to retrying an action, one can set the default values for a retry on the global level, and the override can happen then on the individual step's level only.
> The proposal to be able to set retry and other properties on an action type basis, could allow defaulting things and help not to do repetitive work on each action instance in the workflow.
> Example:
> - One has 60 shell actions and 30 java actions in a workflow.
> - One sets " oozie.launcher.yarn.resourcemanager.am.max-attempts=1" globally
> - For shell steps they don't want this to get applied, so they have to suppress the retry on those steps each time
> The proposal would allow an intermediate level of override similarly like the hadoop conf allows with the *-default.xml, *-site.xml and code level properties override.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)