GitHub user cloverhearts reopened a pull request: https://github.com/apache/zeppelin/pull/1838
[ZEPPELIN-1832] Fixed a bug in zombie process when Zeppelin stopped. ### What is this PR for? When Zeppelin stops, there is a problem. Sometimes this happens to the test as well. It is related to releasing the resources of the remote remote interpreter, and its order has been modified. ### What type of PR is it? Bug Fix ### What is the Jira issue? https://issues.apache.org/jira/browse/ZEPPELIN-1832 ### How should this be tested? 1. Zeppelin start 2. run paragraph for interpreter (for example, %spark println("Hello world") 3. Zeppelin stop 4. check to zombie process ``` #jps ``` When Zeppelin exits, the RemoteInterpreter process should not exist. ### 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/cloverhearts/zeppelin ZEPPELIN-1832 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/1838.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 #1838 ---- commit f3d3406190009aefa3a24dcfef5305c743995fd6 Author: cloverhearts <cloverhearts...@gmail.com> Date: 2017-01-05T12:11:40Z add shutdown method commit cabf83e8d357c784c200f211c38fd3eac1fe9d68 Author: cloverhearts <cloverhearts...@gmail.com> Date: 2017-01-05T12:49:13Z Zombie process issue mitigation. ---- --- 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. ---