EmailActionExecutor does not use a default from-address as documented
---------------------------------------------------------------------

                 Key: OOZIE-759
                 URL: https://issues.apache.org/jira/browse/OOZIE-759
             Project: Oozie
          Issue Type: Bug
          Components: action
    Affects Versions: 3.2.0
            Reporter: Harsh J
            Assignee: Harsh J
            Priority: Minor


Oozie's docs have: {quote}=oozie.email.from.address= - The from address to be 
used for mailing all emails (oozie@localhost by default). {quote}

(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:
{quote}oozie.email.smtp.host - The host where the email action may find the 
SMTP server (localhost by default). {quote}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to