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

Shell action to support env-var value with = sign

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.0
    • 3.2.0
    • action

    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

            chitnis Mona Chitnis
            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