shanyu opened a new pull request #187:  LIVY-617: Livy session leak on Yarn 
when creating session duplicated names
URL: https://github.com/apache/incubator-livy/pull/187
 
 
   ## What changes were proposed in this pull request?
   When creating a session with duplicated name, instead of throw exception in 
SessionManager.register() method, we should stop the session. Otherwise the 
session driver process will keep running and end up creating a leaked Yarn 
application.
   
   https://issues.apache.org/jira/browse/LIVY-617
   
   ## How was this patch tested?
   
   This is just a simple fix and verified with manual end to end test.
   

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to