GitHub user zjffdu opened a pull request: https://github.com/apache/zeppelin/pull/2769
ZEPPELIN-3171. Restart of interpreter in note also aborts running interpreter in another note ### What is this PR for? The root cause is that in isolated mode interpreters will share the same scheduler. That means when one interpreter is terminated, all the running jobs under the scheduler of this interpreter will be aborted too. This PR will create one scheduler for each session. So when one session is closed, only the running jobs under this session's scheduler is aborted. ### What type of PR is it? [Bug Fix] ### Todos * [ ] - Task ### What is the Jira issue? * https://issues.apache.org/jira/browse/ZEPPELIN-3171 ### How should this be tested? * Unit test is added. * Also verify it manually. ### Screenshots (if appropriate) ### 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/zjffdu/zeppelin ZEPPELIN-3171 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/2769.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 #2769 ---- commit 3586f45b8191b5b54259f7955b6a4861284a163c Author: Jeff Zhang <zjffdu@...> Date: 2018-02-07T06:47:46Z ZEPPELIN-3171. Restart of interpreter in note also aborts running interpreter in another note ---- ---