[
https://issues.apache.org/jira/browse/OOZIE-2451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15147113#comment-15147113
]
Ming Hsuan Tu commented on OOZIE-2451:
--------------------------------------
Hi [~rkanter]
I have tried to update the property in cloudera manager, but the CM did not
update oozie-site.xml if I did not enable oozie.email.smtp.auth.
Is necessary to enable oozie.email.smtp.auth if I want to use this workaround?
> Oozie mail action fails due to the Null pointer exception
> ---------------------------------------------------------
>
> Key: OOZIE-2451
> URL: https://issues.apache.org/jira/browse/OOZIE-2451
> Project: Oozie
> Issue Type: Bug
> Components: action, core, workflow
> Affects Versions: 4.1.0
> Environment: CDH 5.5.1
> Reporter: Ming Hsuan Tu
> Fix For: trunk
>
>
> The workflow is as follows
> {code:xml}
> <action name="send_email">
> <email xmlns="uri:oozie:email-action:0.1">
> <to>[email protected]</to>
> <subject>${app_name} in ${date} failed</subject>
> <body>The workflow ${wf:id()} had issues and was killed.</body>
> </email>
> <ok to="fail"/>
> <error to="fail"/>
> </action>
> {code}
> but the mail action just threw up the NULL pointer exception and no other
> logs can be found.
> I have configured the smtp server correctly.
> This issues occurred when I upgrade to CDH 5.5.1 from CDH 5.4.6.
> Thank you.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)