zjffdu opened a new pull request #3660: [ZEPPELIN-4641]. Close interpreter in 
LazyOpenInterpreter when fail to open interpreter
URL: https://github.com/apache/zeppelin/pull/3660
 
 
   ### What is this PR for?
   Currently, resource may leak if interpreter fail to open, and reopen it 
again. e.g
   In flink interpreter, we will create a yarn app in open method, but may fail 
in the following initialization. Then if user open it again, he would create 
another yarn app, the first yarn app is leaked. 
   
   This PR fix it via close interpreter in LazyOpenInterpreter. Besides that it 
fix one bug in `ProcessLauncher`, otherwise the CI will fail.
   
   ### What type of PR is it?
   [Improvement]
   
   ### Todos
   * [ ] - Task
   
   ### What is the Jira issue?
   * https://issues.apache.org/jira/browse/ZEPPELIN-4641
   
   ### How should this be tested?
   * Manually Tested
   
   ### Screenshots (if appropriate)
   
   ### Questions:
   * Does the licenses files need update? No
   * Is there breaking changes for older versions? No
   * Does this needs documentation? No
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to