Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-2423

Java/Spark Workflow Action Argument - Optional values

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.1.0
    • Fix Version/s: None
    • Component/s: client
    • Labels:
      None

      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>

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tenstriker nirav patel
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: