{"action":"opened","number":218,"pull_request":{"url":"https://api.github.com/repos/cloudera/impyla/pulls/218","id":87468374,"html_url":"https://github.com/cloudera/impyla/pull/218","diff_url":"https://github.com/cloudera/impyla/pull/218.diff","patch_url":"https://github.com/cloudera/impyla/pull/218.patch","issue_url":"https://api.github.com/repos/cloudera/impyla/issues/218","number":218,"state":"open","locked":false,"title":"Autoclose HiveServer2 sessions","user":{"login":"Saluev","id":2435301,"avatar_url":"https://avatars.githubusercontent.com/u/2435301?v=3","gravatar_id":"","url":"https://api.github.com/users/Saluev","html_url":"https://github.com/Saluev","followers_url":"https://api.github.com/users/Saluev/followers","following_url":"https://api.github.com/users/Saluev/following{/other_user}","gists_url":"https://api.github.com/users/Saluev/gists{/gist_id}","starred_url":"https://api.github.com/users/Saluev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Saluev/subscriptions","organizations_url":"https://api.github.com/users/Saluev/orgs","repos_url":"https://api.github.com/users/Saluev/repos","events_url":"https://api.github.com/users/Saluev/events{/privacy}","received_events_url":"https://api.github.com/users/Saluev/received_events","type":"User","site_admin":false},"body":"Apparantly closing HiveServer2 connections doesn't solve the problem of hanging connections, since Hive session is created for every cursor. Auto-closing cursors is also necessary. This change makes `cursor.close()` operation idempotent and makes it called on delete.","created_at":"2016-09-30T10:16:20Z","updated_at":"2016-09-30T10:16:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"49437f2267536eab1ea77be086613c6479a57be4","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/cloudera/impyla/pulls/218/commits","review_comments_url":"https://api.github.com/repos/cloudera/impyla/pulls/218/comments","review_comment_url":"https://api.github.com/repos/cloudera/impyla/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cloudera/impyla/issues/218/comments","statuses_url":"https://api.github.com/repos/cloudera/impyla/statuses/c7ad2ecc4d358ab4ac3ebbdf5fda0cff70cded05","head":{"label":"Saluev:patch-2","ref":"patch-2","sha":"c7ad2ecc4d358ab4ac3ebbdf5fda0cff70cded05","user":{"login":"Saluev","id":2435301,"avatar_url":"https://avatars.githubusercontent.com/u/2435301?v=3","gravatar_id":"","url":"https://api.github.com/users/Saluev","html_url":"https://github.com/Saluev","followers_url":"https://api.github.com/users/Saluev/followers","following_url":"https://api.github.com/users/Saluev/following{/other_user}","gists_url":"https://api.github.com/users/Saluev/gists{/gist_id}","starred_url":"https://api.github.com/users/Saluev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Saluev/subscriptions","organizations_url":"https://api.github.com/users/Saluev/orgs","repos_url":"https://api.github.com/users/Saluev/repos","events_url":"https://api.github.com/users/Saluev/events{/privacy}","received_events_url":"https://api.github.com/users/Saluev/received_events","type":"User","site_admin":false},"repo":{"id":69559156,"name":"impyla","full_name":"Saluev/impyla","owner":{"login":"Saluev","id":2435301,"avatar_url":"https://avatars.githubusercontent.com/u/2435301?v=3","gravatar_id":"","url":"https://api.github.com/users/Saluev","html_url":"https://github.com/Saluev","followers_url":"https://api.github.com/users/Saluev/followers","following_url":"https://api.github.com/users/Saluev/following{/other_user}","gists_url":"https://api.github.com/users/Saluev/gists{/gist_id}","starred_url":"https://api.github.com/users/Saluev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Saluev/subscriptions","organizations_url":"https://api.github.com/users/Saluev/orgs","repos_url":"https://api.github.com/users/Saluev/repos","events_url":"https://api.github.com/users/Saluev/events{/privacy}","received_events_url":"https://api.github.com/users/Saluev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Saluev/impyla","description":"Python DB API 2.0 client for Impala and Hive (HiveServer2 protocol)","fork":true,"url":"https://api.github.com/repos/Saluev/impyla","forks_url":"https://api.github.com/repos/Saluev/impyla/forks","keys_url":"https://api.github.com/repos/Saluev/impyla/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Saluev/impyla/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Saluev/impyla/teams","hooks_url":"https://api.github.com/repos/Saluev/impyla/hooks","issue_events_url":"https://api.github.com/repos/Saluev/impyla/issues/events{/number}","events_url":"https://api.github.com/repos/Saluev/impyla/events","assignees_url":"https://api.github.com/repos/Saluev/impyla/assignees{/user}","branches_url":"https://api.github.com/repos/Saluev/impyla/branches{/branch}","tags_url":"https://api.github.com/repos/Saluev/impyla/tags","blobs_url":"https://api.github.com/repos/Saluev/impyla/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Saluev/impyla/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Saluev/impyla/git/refs{/sha}","trees_url":"https://api.github.com/repos/Saluev/impyla/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Saluev/impyla/statuses/{sha}","languages_url":"https://api.github.com/repos/Saluev/impyla/languages","stargazers_url":"https://api.github.com/repos/Saluev/impyla/stargazers","contributors_url":"https://api.github.com/repos/Saluev/impyla/contributors","subscribers_url":"https://api.github.com/repos/Saluev/impyla/subscribers","subscription_url":"https://api.github.com/repos/Saluev/impyla/subscription","commits_url":"https://api.github.com/repos/Saluev/impyla/commits{/sha}","git_commits_url":"https://api.github.com/repos/Saluev/impyla/git/commits{/sha}","comments_url":"https://api.github.com/repos/Saluev/impyla/comments{/number}","issue_comment_url":"https://api.github.com/repos/Saluev/impyla/issues/comments{/number}","contents_url":"https://api.github.com/repos/Saluev/impyla/contents/{+path}","compare_url":"https://api.github.com/repos/Saluev/impyla/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Saluev/impyla/merges","archive_url":"https://api.github.com/repos/Saluev/impyla/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Saluev/impyla/downloads","issues_url":"https://api.github.com/repos/Saluev/impyla/issues{/number}","pulls_url":"https://api.github.com/repos/Saluev/impyla/pulls{/number}","milestones_url":"https://api.github.com/repos/Saluev/impyla/milestones{/number}","notifications_url":"https://api.github.com/repos/Saluev/impyla/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Saluev/impyla/labels{/name}","releases_url":"https://api.github.com/repos/Saluev/impyla/releases{/id}","deployments_url":"https://api.github.com/repos/Saluev/impyla/deployments","created_at":"2016-09-29T10:58:43Z","updated_at":"2016-09-29T10:58:44Z","pushed_at":"2016-09-30T10:14:45Z","git_url":"git://github.com/Saluev/impyla.git","ssh_url":"git@github.com:Saluev/impyla.git","clone_url":"https://github.com/Saluev/impyla.git","svn_url":"https://github.com/Saluev/impyla","homepage":"","size":2407,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cloudera:master","ref":"master","sha":"2397ef2ce4d4b07dbb358661489245fa51328d39","user":{"login":"cloudera","id":87383,"avatar_url":"https://avatars.githubusercontent.com/u/87383?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudera","html_url":"https://github.com/cloudera","followers_url":"https://api.github.com/users/cloudera/followers","following_url":"https://api.github.com/users/cloudera/following{/other_user}","gists_url":"https://api.github.com/users/cloudera/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudera/subscriptions","organizations_url":"https://api.github.com/users/cloudera/orgs","repos_url":"https://api.github.com/users/cloudera/repos","events_url":"https://api.github.com/users/cloudera/events{/privacy}","received_events_url":"https://api.github.com/users/cloudera/received_events","type":"Organization","site_admin":false},"repo":{"id":18780981,"name":"impyla","full_name":"cloudera/impyla","owner":{"login":"cloudera","id":87383,"avatar_url":"https://avatars.githubusercontent.com/u/87383?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudera","html_url":"https://github.com/cloudera","followers_url":"https://api.github.com/users/cloudera/followers","following_url":"https://api.github.com/users/cloudera/following{/other_user}","gists_url":"https://api.github.com/users/cloudera/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudera/subscriptions","organizations_url":"https://api.github.com/users/cloudera/orgs","repos_url":"https://api.github.com/users/cloudera/repos","events_url":"https://api.github.com/users/cloudera/events{/privacy}","received_events_url":"https://api.github.com/users/cloudera/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudera/impyla","description":"Python DB API 2.0 client for Impala and Hive (HiveServer2 protocol)","fork":false,"url":"https://api.github.com/repos/cloudera/impyla","forks_url":"https://api.github.com/repos/cloudera/impyla/forks","keys_url":"https://api.github.com/repos/cloudera/impyla/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudera/impyla/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudera/impyla/teams","hooks_url":"https://api.github.com/repos/cloudera/impyla/hooks","issue_events_url":"https://api.github.com/repos/cloudera/impyla/issues/events{/number}","events_url":"https://api.github.com/repos/cloudera/impyla/events","assignees_url":"https://api.github.com/repos/cloudera/impyla/assignees{/user}","branches_url":"https://api.github.com/repos/cloudera/impyla/branches{/branch}","tags_url":"https://api.github.com/repos/cloudera/impyla/tags","blobs_url":"https://api.github.com/repos/cloudera/impyla/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudera/impyla/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudera/impyla/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudera/impyla/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudera/impyla/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudera/impyla/languages","stargazers_url":"https://api.github.com/repos/cloudera/impyla/stargazers","contributors_url":"https://api.github.com/repos/cloudera/impyla/contributors","subscribers_url":"https://api.github.com/repos/cloudera/impyla/subscribers","subscription_url":"https://api.github.com/repos/cloudera/impyla/subscription","commits_url":"https://api.github.com/repos/cloudera/impyla/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudera/impyla/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudera/impyla/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudera/impyla/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudera/impyla/contents/{+path}","compare_url":"https://api.github.com/repos/cloudera/impyla/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudera/impyla/merges","archive_url":"https://api.github.com/repos/cloudera/impyla/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudera/impyla/downloads","issues_url":"https://api.github.com/repos/cloudera/impyla/issues{/number}","pulls_url":"https://api.github.com/repos/cloudera/impyla/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudera/impyla/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudera/impyla/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudera/impyla/labels{/name}","releases_url":"https://api.github.com/repos/cloudera/impyla/releases{/id}","deployments_url":"https://api.github.com/repos/cloudera/impyla/deployments","created_at":"2014-04-14T23:52:07Z","updated_at":"2016-09-14T15:58:52Z","pushed_at":"2016-09-30T10:16:21Z","git_url":"git://github.com/cloudera/impyla.git","ssh_url":"git@github.com:cloudera/impyla.git","clone_url":"https://github.com/cloudera/impyla.git","svn_url":"https://github.com/cloudera/impyla","homepage":"","size":2627,"stargazers_count":217,"watchers_count":217,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":75,"mirror_url":null,"open_issues_count":57,"forks":75,"open_issues":57,"watchers":217,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cloudera/impyla/pulls/218"},"html":{"href":"https://github.com/cloudera/impyla/pull/218"},"issue":{"href":"https://api.github.com/repos/cloudera/impyla/issues/218"},"comments":{"href":"https://api.github.com/repos/cloudera/impyla/issues/218/comments"},"review_comments":{"href":"https://api.github.com/repos/cloudera/impyla/pulls/218/comments"},"review_comment":{"href":"https://api.github.com/repos/cloudera/impyla/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cloudera/impyla/pulls/218/commits"},"statuses":{"href":"https://api.github.com/repos/cloudera/impyla/statuses/c7ad2ecc4d358ab4ac3ebbdf5fda0cff70cded05"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":8,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"Saluev"}}