GitHub user hammertank reopened a pull request: https://github.com/apache/zeppelin/pull/2271
[ZEPPELIN-2414] Memory leak under scoped mode of SparkInterpreter caused by inapproprately setting Thread.contextClassLoader ### What is this PR for? Fix memory leak under scoped mode of SparkInterpreter which is caused by inapproprately setting Thread.contextClassLoader. ### What type of PR is it? Bug Fix ### Todos Rest Thread.contextClassLoader in Methods: * [x] - Wraps interpreters with ClassLoader with ClassLoaderInterpreter in RemoteInterpreterServer.createInterpreter ### What is the Jira issue? https://issues.apache.org/jira/browse/ZEPPELIN-2414 ### How should this be tested? ### 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/hammertank/zeppelin ZEPPELIN-2414 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/2271.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 #2271 ---- commit 2b67899ffe71658ca99f802005e1c5e20ffa0db7 Author: z0621 <zhouyf0...@dtdream.com> Date: 2017-05-04T05:57:30Z Wraps interpreters with ClassloaderInterpreters ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---