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

Oozie Mail action -<attachment> is causing issues with <body> formatting

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      When you define a email action in Oozie with <attachment>, then the text in <body> is not formatted.
      Email Action:

          <action name="email-f689">
              <email xmlns="uri:oozie:email-action:0.2">
                  <to>fooo@bar.com</to>
                  <subject>Test-HTML-Text</subject>
                  <body>
      <![CDATA[${wf:name()} Succeeded: During Execution @ ${timestamp()}
      <br/>
      <br/>
      Workflow Id: ${wf:id()} <br/>
      Status :  <br/>
      <br/>
      <span style="text-decoration: underline;">URI for Logs</span>
      <br/>]]>
                  </body>
                  <content_type>text/html</content_type>
                  <attachment>${nameNode}/user/admin/shell_output.txt</attachment>
              </email>
              <ok to="End"/>
              <error to="Kill"/>
          </action>
      
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gezapeti Gézapeti
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: