Set SMTP settings in workflow

2017-11-11 Thread Jan Hentschel
Hello, I’m currently trying to create a workflow, which has an email action sending an HDFS file as an attachment. I didn’t configure the SMTP settings in the oozie-site to prevent a restart of the service. Instead I tried to set them directly in the workflow, but wasn’t able to do that.

Re: Set SMTP settings in workflow

2017-11-11 Thread Peter Cseh
Hey Jan! The SMTP access data and the "from" field comes from the ConfigigurationService directly, so you can't overwrite that from the Workflows: https://github.com/apache/oozie/blob/master/core/src/main/java/org/apache/oozie/action/email/EmailActionExecutor.java#L185-L188 I don't see any reason