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

EmailActionExecutor does not use a default from-address as documented

    XMLWordPrintableJSON

Details

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

    Description

      Oozie's docs have:

      =oozie.email.from.address= - The from address to be used for mailing all emails (oozie@localhost by default).

      (From http://incubator.apache.org/oozie/docs/3.1.3/docs/DG_EmailActionExtension.html)

      However, the code does not seem to use a default when loading the prop from the Oozie conf. Thus if someone does not specify it, it causes an NPE when it tries to from a fromAddress object later.

      Same applies to:

      oozie.email.smtp.host - The host where the email action may find the SMTP server (localhost by default).

      Attachments

        Activity

          People

            qwertymaniac Harsh J
            qwertymaniac Harsh J
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: