{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/7239","labels_url":"https://api.github.com/repos/apache/spark/issues/7239/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/7239/comments","events_url":"https://api.github.com/repos/apache/spark/issues/7239/events","html_url":"https://github.com/apache/spark/pull/7239","id":93264194,"number":7239,"title":"[SPARK-8839][SQL]ThriftServer2 will remove session and execution no matter it's finished or not.","user":{"login":"SaintBacchus","id":7404824,"avatar_url":"https://avatars.githubusercontent.com/u/7404824?v=3","gravatar_id":"","url":"https://api.github.com/users/SaintBacchus","html_url":"https://github.com/SaintBacchus","followers_url":"https://api.github.com/users/SaintBacchus/followers","following_url":"https://api.github.com/users/SaintBacchus/following{/other_user}","gists_url":"https://api.github.com/users/SaintBacchus/gists{/gist_id}","starred_url":"https://api.github.com/users/SaintBacchus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SaintBacchus/subscriptions","organizations_url":"https://api.github.com/users/SaintBacchus/orgs","repos_url":"https://api.github.com/users/SaintBacchus/repos","events_url":"https://api.github.com/users/SaintBacchus/events{/privacy}","received_events_url":"https://api.github.com/users/SaintBacchus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":27,"created_at":"2015-07-06T12:13:22Z","updated_at":"2015-07-09T06:48:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/7239","html_url":"https://github.com/apache/spark/pull/7239","diff_url":"https://github.com/apache/spark/pull/7239.diff","patch_url":"https://github.com/apache/spark/pull/7239.patch"},"body":"In my test, `sessions` and `executions` in ThriftServer2 is not the same number as the connection number.\r\nFor example, if there are 200 clients connecting to the server,  but it will have more than 200 `sessions` and `executions`.\r\nSo if it reaches the `retainedStatements`, it has to remove some object which is not finished.\r\nSo it may cause the exception described in [Jira Address](https://issues.apache.org/jira/browse/SPARK-8839)"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/119842597","html_url":"https://github.com/apache/spark/pull/7239#issuecomment-119842597","issue_url":"https://api.github.com/repos/apache/spark/issues/7239","id":119842597,"user":{"login":"AmplabJenkins","id":4031291,"avatar_url":"https://avatars.githubusercontent.com/u/4031291?v=3","gravatar_id":"","url":"https://api.github.com/users/AmplabJenkins","html_url":"https://github.com/AmplabJenkins","followers_url":"https://api.github.com/users/AmplabJenkins/followers","following_url":"https://api.github.com/users/AmplabJenkins/following{/other_user}","gists_url":"https://api.github.com/users/AmplabJenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/AmplabJenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmplabJenkins/subscriptions","organizations_url":"https://api.github.com/users/AmplabJenkins/orgs","repos_url":"https://api.github.com/users/AmplabJenkins/repos","events_url":"https://api.github.com/users/AmplabJenkins/events{/privacy}","received_events_url":"https://api.github.com/users/AmplabJenkins/received_events","type":"User","site_admin":false},"created_at":"2015-07-09T06:48:13Z","updated_at":"2015-07-09T06:48:13Z","body":" Merged build triggered."}}