Hui An created LIVY-765:
---------------------------

             Summary: Not dispose rpc server may cause leak problem
                 Key: LIVY-765
                 URL: https://issues.apache.org/jira/browse/LIVY-765
             Project: Livy
          Issue Type: Bug
          Components: RSC
    Affects Versions: 0.8.0
            Reporter: Hui An


Livy could not dispose rpc server if session is not created successfully.

To reproduce this issue,
 # Create a session with name *test*
 # After session created successfully, create another session with same name 
*test*
 # We would get duplicate session name exception, and the session would be 
stopped, but the rpc server with channel port is not closed.

Looks like RSC client called 
{code:java}
this.contextInfoPromise.cancel(true);
{code}
 method to shutdown spark submit process, but it does not close rpc server. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to