[
https://issues.apache.org/jira/browse/OOZIE-2423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
abhishek bafna updated OOZIE-2423:
----------------------------------
Description:
Hi,
Currently in oozie java action or spark action we can use <arg> tag to
dynamically supply list of argument to oozie action. i.e. You specify
"<arg>${dynamicAllocation}</arg>" in oozie workflow and on runtime we have to
set value of 'dynamicAllocation' into oozie client configuration. Currently it
doesn't except empty space. Well it does but then it fails on runtime with
`variable [dynamicAllocation] cannot be resolved` . Can we have a way to allow
empty arguments to pass here? Another option is to allow default under
workflow.xml itself like <arg>${dynamicAllocation:false}</arg>
was:
Hi,
Currently in oozie java action or spark action we can use <arg> tag to
dynamically supply list of argument to oozie action. i.e. You specify
`<arg>${dynamicAllocation}</arg>` in oozie workflow and on runtime we have to
set value of 'dynamicAllocation' into oozie client configuration. Currently it
doesn't except empty space. Well it does but then it fails on runtime with
`variable [dynamicAllocation] cannot be resolved` . Can we have a way to allow
empty arguments to pass here? Another option is to allow default under
workflow.xml itself like <arg>${dynamicAllocation:false}</arg>
> Java/Spark Workflow Action Argument - Optional values
> -----------------------------------------------------
>
> Key: OOZIE-2423
> URL: https://issues.apache.org/jira/browse/OOZIE-2423
> Project: Oozie
> Issue Type: Improvement
> Components: client
> Affects Versions: 4.1.0
> Reporter: nirav patel
>
> Hi,
> Currently in oozie java action or spark action we can use <arg> tag to
> dynamically supply list of argument to oozie action. i.e. You specify
> "<arg>${dynamicAllocation}</arg>" in oozie workflow and on runtime we have to
> set value of 'dynamicAllocation' into oozie client configuration. Currently
> it doesn't except empty space. Well it does but then it fails on runtime with
> `variable [dynamicAllocation] cannot be resolved` . Can we have a way to
> allow empty arguments to pass here? Another option is to allow default under
> workflow.xml itself like <arg>${dynamicAllocation:false}</arg>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)