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-2964] Stop execution on schedule if the note has been moved…
… to the trash ### What is this PR for? When you put the note (or folder) in the trash, the note continues to run on schedule. This PR fixes this. Now when you put the note into the trash, the task is removed, and when you restore the note, it runs again. ### What type of PR is it? Improvement ### What is the Jira issue? [ZEPPELIN-3007](https://issues.apache.org/jira/browse/ZEPPELIN-3007) ### How should this be tested? - Create a scheduled launch for the note. - Put the note in the trash. - Look through the logs. - Note must stop running. - Restore the note from the trash. - Running on a schedule should continue again. ### Questions: * Does the licenses files need update? no * Is there breaking changes for older versions? no * Does this needs documentation? no Author: tinkoff-dwh <[email protected]> Closes apache#2697 from tinkoff-dwh/ZEPPELIN-2964 and squashes the following commits: b12ae4c [tinkoff-dwh] [ZEPPELIN-2964] add if statement 3db4a8e [tinkoff-dwh] [ZEPPELIN-2964] restore cron together note/folder 3906b9e [tinkoff-dwh] [ZEPPELIN-2964] drop cron when note placed in the trash
- Loading branch information
1 parent
851dcb1
commit dd1be03
Showing
3 changed files
with
33 additions
and
2 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
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