From 63325d01503fb86c3cd365a9e45ae0f4f5665b1d Mon Sep 17 00:00:00 2001 From: Jeff Zhang Date: Wed, 4 Apr 2018 18:13:06 +0800 Subject: [PATCH] [ZEPPELIN-3350] Don't allow set cronExecutionUser --- docs/usage/other_features/cron_scheduler.md | 2 +- .../src/app/notebook/notebook-actionBar.html | 7 ------- .../java/org/apache/zeppelin/notebook/Note.java | 14 +++++--------- 3 files changed, 6 insertions(+), 17 deletions(-) diff --git a/docs/usage/other_features/cron_scheduler.md b/docs/usage/other_features/cron_scheduler.md index c7fc2844574..7223045bff8 100644 --- a/docs/usage/other_features/cron_scheduler.md +++ b/docs/usage/other_features/cron_scheduler.md @@ -41,7 +41,7 @@ You can set a cron schedule easily by clicking each option such as `1m` and `5m` You can set the cron schedule by filling in this form. Please see [Cron Trigger Tutorial](http://www.quartz-scheduler.org/documentation/quartz-2.2.x/tutorials/crontrigger) for the available cron syntax. -### Cron executing user +### Cron executing user (It is removed from 0.8 where it enforces the cron execution user to be the note owner for security purpose) You can set the cron executing user by filling in this form and press the enter key. diff --git a/zeppelin-web/src/app/notebook/notebook-actionBar.html b/zeppelin-web/src/app/notebook/notebook-actionBar.html index 7559a871c38..78ca77efb17 100644 --- a/zeppelin-web/src/app/notebook/notebook-actionBar.html +++ b/zeppelin-web/src/app/notebook/notebook-actionBar.html @@ -280,13 +280,6 @@

{{note.info.cron}}

-
- - Cron executing user (click enter in field to submit) - -
- auto-restart interpreter on cron execution