Created 09-02-2015 11:25 PM
I would like to know whether we can attach a file in the email workflow of oozie. If so, can you explain with example.
Created 09-02-2015 11:56 PM
Created 09-03-2015 12:45 AM
Hi,
Thanks for your quick reply. Is there any workaround to show the content of log file in the mail after the workflow completed.
Created 09-14-2015 08:56 PM
I think it depends on how much of the log file you want to see.
If it's just a few lines, you can read the log file in a shell script and print out those lines as LINE1=... , LINE2=... etc. Then check the "Capture output" flag on the Oozie shell action, which will create variables that you can then pick up in your email action with the syntax ${wf:actionData('YourShellAction')['LINE1']} etc.
Hope this helps.
Martin
Created 04-01-2016 01:21 AM
Hello
Is it possible to disable this feature, where we dont want to allow the users to attache HDFS files to emails.
Thanks in advacne for the reply.
Abraham
Created 04-01-2016 01:26 AM
Created 04-01-2016 06:03 AM
Hello Harsh
Thanks for reply.
We are using Cloundera Manager.
Can you please let me know how this can be done via Cloudera Manager.
I checked the file in the Oozie server host via Oozie-Server-->Processes-->Oozie-site.xml
and couldnt find the field in the file.
oozie.email.attachment.enabled
Regards
Abraham