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

Shell action to support env-var value with = sign

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.0
    • Fix Version/s: 3.2.0
    • Component/s: action
    • Labels:

      Description

      For shell action, the env-var's value is truncated by =. for example, the shell action in
      workflow.xml:
      <shell xmlns="uri:oozie:shell-action:0.1">
      ... ...
      <exec>${SCRIPT}</exec>
      <env-var>myVar="v=123;t=456;s=abc--"</env-var>
      <file>${SCRIPT}#${SCRIPT}</file>
      <capture-output/>

      then the ${myVar} becomes:
      myVar="v

      expect it to be: ${myVar} equals v=123;t=456;s=abc--

        Attachments

          Activity

            People

            • Assignee:
              chitnis Mona Chitnis
              Reporter:
              chitnis Mona Chitnis
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified