GitHub user hammertank opened 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:
    * [ ] - public void open()
    * [ ] - private Results.Result interpret(String line)
    * [ ] - public List<InterpreterCompletion> completion(String buf, int 
cursor)
    
    ### What is the Jira issue?
    https://issues.apache.org/jira/browse/ZEPPELIN-2414
    
    ### How should this be tested?
    TestCase SparkInterpreterTest#testContextClassLoader
    
    ### 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 312b972bfd1a33cf1ec439e480795be151f63c87
Author: z0621 <zhouyf0...@dtdream.com>
Date:   2017-04-18T02:42:23Z

    [ZEPPELIN-2414] Memory leak under scoped mode of SparkInterpreter caused by 
inapproprately setting Thread.contextClassLoader

commit 8be737b120c1a614547df17454c03da2848aefe6
Author: z0621 <zhouyf0...@dtdream.com>
Date:   2017-04-19T02:32:27Z

    [HOTFIX] CAN'T install cran packages using apt in Travis CI

commit 79d005fd64b4e9e9334975611d6dd421b0258e30
Author: z0621 <zhouyf0...@dtdream.com>
Date:   2017-04-19T03:12:23Z

    [ZEPPELIN-1455] Fix flaky test: AbstractAngularElemTest

commit a7953cffd10f89ead29987281fd9052e8c5cc6b9
Author: z0621 <zhouyf0...@dtdream.com>
Date:   2017-04-19T03:54:24Z

    Fix CI build failure on branch-0.6

commit e971e610d2e626f310f123efd2ef09c26f432a85
Author: z0621 <zhouyf0...@dtdream.com>
Date:   2017-04-19T06:58:25Z

    [ZEPPELIN-1972] Preserve context classloader

commit 36c82419b27646df8bc0b6f6aac224b23f7ee630
Author: z0621 <zhouyf0...@dtdream.com>
Date:   2017-04-19T07:51:36Z

    Merge branch 'HOTFIX' into ZEPPELIN-2414

commit 9df575da5d6998135e010c44f2b296850536ee49
Author: z0621 <zhouyf0...@dtdream.com>
Date:   2017-04-19T09:20:30Z

    [ZEPPELIN-2414] Memory leak under scoped mode of SparkInterpreter caused by 
inapproprately setting Thread.contextClassLoader

commit d59ea0836a03c7e55228ff2888d0261b8222c7c2
Author: z0621 <zhouyf0...@dtdream.com>
Date:   2017-04-19T09:21:42Z

    Add travis_check.py from master

commit 959011130c2dfa2cccdb0b68c8d9f12020383d18
Author: z0621 <zhouyf0...@dtdream.com>
Date:   2017-04-19T10:19:10Z

    Merge branch 'HOTFIX' into ZEPPELIN-2414

commit 230e5db11f101ce99127f3a2fc1972e3a0bcddb6
Author: z0621 <zhouyf0...@dtdream.com>
Date:   2017-04-20T05:28:11Z

    [ZEPPELIN-2414] Memory leak under scoped mode of SparkInterpreter caused by 
inapproprately setting Thread.contextClassLoader

commit f5b6f1238e258f2ea7a33ba524b19bea243acfd7
Author: z0621 <zhouyf0...@dtdream.com>
Date:   2017-04-20T06:26:37Z

    [ZEPPELIN-2414] Memory leak under scoped mode of SparkInterpreter caused by 
inapproprately setting Thread.contextClassLoader

----


---
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.
---

Reply via email to