Uh oh!
There was an error while loading. Please reload this page.
ZEPPELIN-885 Add option to send email in scheduler execution - #918
ZEPPELIN-885 Add option to send email in scheduler execution#918vgmartinez wants to merge 6 commits into
Conversation
cloverhearts
commented
May 26, 2016
Thank you for good feature. but, i got following problem. Zeppelin Server log. My Environment : Mac OS elcapitan, chrome lastests. cron time 1m; email : onStart : myemail@gmail.com |
I tested and working well. |
felixcheung
commented
May 26, 2016
cool - should we have the info in documentation? |
cloverhearts
commented
May 26, 2016
@astroshim Oh, I see. Thank you! |
@vgmartinez Thank you for contribution! Before a deep dive into the code, I have a question - could you pelase explain the use-case you have in mind for this feature? I'm trying to understand in particular what is the benefit of introducing complexity of SNTP support in the Zeppelin codebase (not sure that See #8 from this notebook for an example of the data product, that uses this approach for sending out email notifications. |
vgmartinez
commented
May 26, 2016
@cloverhearts@astroshim@felixcheung thks, add more info and doc ASAP. hi @bzz, I think having the option to send an email when you finish executing a note or when an error occurs in one paragraph is a good utility for the user. |
Leemoonsoo
commented
May 26, 2016
@vgmartinez Thanks for contribution. @vgmartinez and folks, how about having generalized event hook instead of just handling email after scheduler execution? Zeppelin can generate events,
And if there're some extensible mechanism that allow user plugin custom event handler. So possibly not only sending email, but also execute shell script or any other action will be possible for all type of events. What do you think? |
vgmartinez
commented
May 29, 2016
Hi @Leemoonsoo, I totally agree with you. I'll think a bit about this topic, if you already have some idea we can debate. thanks for the suggestion. |
bzz
commented
May 31, 2016
@vgmartinez thank you for explaining the use case, it makes perfect sense and is not covered by the case I was referring to. May it's worth putting it in JIRA\PR description as well, how do you think? @Leemoonsoo suggestion sounds really nice indeed. Even something simpler and less general with just an email would work as a first step, but email facilities better be placed outside of the |
Leemoonsoo
commented
May 31, 2016
@vgmartinez I think move email facilities from |
vgmartinez
commented
May 31, 2016
@bzz@Leemoonsoo thks for review. |
| private NotebookRepo notebookRepo; | ||
| private SearchService notebookIndex; | ||
| private NotebookAuthorization notebookAuthorization; | ||
| private static EventNotification notification; |
There was a problem hiding this comment.
are there any special reasons making notification and conf static?
Leemoonsoo
commented
May 31, 2016
Do you mind add new configurations to https://github.com/apache/incubator-zeppelin/blob/master/docs/install/install.md#zeppelin-configuration as well?? |
vgmartinez
commented
Jun 6, 2016
@Leemoonsoo sorry for delay. I added the configurations in the file install.md and delete the static modifier. |
Leemoonsoo
commented
Jun 7, 2016
@vgmartinez No worries. CI build fails with error Could you take a look? |
92edccf to
8ab7fe6Compare@Leemoonsoo CI pass... |
Leemoonsoo
commented
Jun 14, 2016
@vgmartinez Thanks for update. I tried and found 'Cancel' button is not actually discarding chances in dialog. Check following screenshot |
8ab7fe6 to
3dbdba2Compare1469364 to
8d50f1aComparevgmartinez
commented
Nov 28, 2016
Hi @Leemoonsoo, thks |

What is this PR for?
Add the option to send email when a note is runing using the scheduler.
The option to send an email when you finish executing a note or when an error occurs in one paragraph is a good utility for the user.
What type of PR is it?
Improvement
Todos
What is the Jira issue?
How should this be tested?
Screenshots (if appropriate)
Questions: