GitHub user PhilippGrulich opened a pull request:
https://github.com/apache/zeppelin/pull/1607
[ZEPPELIN-1632] Add the possibility to cancel flink jobs in local mode
### What is this PR for?
Especially for long running flink streaming jobs it should be possible to
cancel a job by clicking the cancel button in the zeppelin ui. This pull
request contains an implementation to cancel jobs when the flink interpreter is
running in local mode.
### What type of PR is it?
Improvement
### Todos
* [ ] - Implement cancel method
### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-1632
### How should this be tested?
Execute a long running flink streaming job.
The "senv.execute()" method is blocking, therefore the paragraph remains in
the state running. Then click cancel and the job will be canceled.
### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/SWC-SENSE/zeppelin flink_cancel_job
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/1607.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1607
----
commit 9d0019080946a205beefebd7984e1e59d958e2f2
Author: Philipp <[email protected]>
Date: 2016-11-07T11:20:50Z
add the possibility to cancel flink jobs in local mode
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---