GitHub user zjffdu opened a pull request: https://github.com/apache/zeppelin/pull/2631
ZEPPELIN-2197. Interpreter Lifecycle Manager ### What is this PR for? This PR implement the lifecycle manager. There're 2 implementions. * NullLifecycleManager. Nothing is done as before. User has to start/stop interpreter explicitly in UI. * TimeoutLifecycleManager. Interpreter will be closed after idle for one threshold of time. By default it is 1 hour. ### What type of PR is it? [ Feature] ### Todos * [ ] - Task ### What is the Jira issue? * https://issues.apache.org/jira/browse/ZEPPELIN-2197 ### How should this be tested? Unit test is added. ### 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-2197 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/2631.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 #2631 ---- commit cd112f9abb8538e5684fbf6ddb61013137150389 Author: Jeff Zhang <zjf...@apache.org> Date: 2017-09-28T05:02:23Z save commit 6376d7617617daf92f67168c1fc767054e5616b6 Author: Jeff Zhang <zjf...@apache.org> Date: 2017-10-25T06:18:31Z ZEPPELIN-2197. Interpreter Lifecycle Manager ---- ---