forked from apache/zeppelin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ZEPPELIN-6102] Fix cron disabling and refresh issue
### What is this PR for? 1. fix the cron disabling issue where zeppelin frontend was unable to disable cron, i.e., after setting the cron, e.g., every 1m, 5m, when you change it to "None", it didn't take effect when you refresh the notebook. 2. fixes the cron refresh issue, i.e., when you update the cron setting, it always triggered the cron with the old cron expression, because the cron setting was refreshed before notebook updating. ### What type of PR is it? Bug Fix ### Todos ### What is the Jira issue? https://issues.apache.org/jira/projects/ZEPPELIN/issues/ZEPPELIN-6102 ### How should this be tested? 1. Open Zeppelin Web UI 2. Open any Notebook 3. Click the Cron Icon 4. set any cron expression 5. refresh the notebook and see if it worked as expected 6. set it to None 7. refresh the notebook and see if it worked as expected ### Screenshots (if appropriate)  ### Questions: * Does the license files need to update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Closes apache#4842 from Li-GL/ZEPPELIN-6102. Signed-off-by: Cheng Pan <[email protected]>
- Loading branch information
Showing
2 changed files
with
100 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters