{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/presto/issues/3998","labels_url":"https://api.github.com/repos/facebook/presto/issues/3998/labels{/name}","comments_url":"https://api.github.com/repos/facebook/presto/issues/3998/comments","events_url":"https://api.github.com/repos/facebook/presto/issues/3998/events","html_url":"https://github.com/facebook/presto/pull/3998","id":117722182,"number":3998,"title":"Use injected ExecutorService instead of creating a new one","user":{"login":"cberner","id":842688,"avatar_url":"https://avatars.githubusercontent.com/u/842688?v=3","gravatar_id":"","url":"https://api.github.com/users/cberner","html_url":"https://github.com/cberner","followers_url":"https://api.github.com/users/cberner/followers","following_url":"https://api.github.com/users/cberner/following{/other_user}","gists_url":"https://api.github.com/users/cberner/gists{/gist_id}","starred_url":"https://api.github.com/users/cberner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cberner/subscriptions","organizations_url":"https://api.github.com/users/cberner/orgs","repos_url":"https://api.github.com/users/cberner/repos","events_url":"https://api.github.com/users/cberner/events{/privacy}","received_events_url":"https://api.github.com/users/cberner/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/presto/labels/CLA%20Signed","name":"CLA Signed","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"dain","id":58298,"avatar_url":"https://avatars.githubusercontent.com/u/58298?v=3","gravatar_id":"","url":"https://api.github.com/users/dain","html_url":"https://github.com/dain","followers_url":"https://api.github.com/users/dain/followers","following_url":"https://api.github.com/users/dain/following{/other_user}","gists_url":"https://api.github.com/users/dain/gists{/gist_id}","starred_url":"https://api.github.com/users/dain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dain/subscriptions","organizations_url":"https://api.github.com/users/dain/orgs","repos_url":"https://api.github.com/users/dain/repos","events_url":"https://api.github.com/users/dain/events{/privacy}","received_events_url":"https://api.github.com/users/dain/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-11-19T01:47:39Z","updated_at":"2015-11-19T05:58:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/facebook/presto/pulls/3998","html_url":"https://github.com/facebook/presto/pull/3998","diff_url":"https://github.com/facebook/presto/pull/3998.diff","patch_url":"https://github.com/facebook/presto/pull/3998.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/facebook/presto/issues/comments/157960038","html_url":"https://github.com/facebook/presto/pull/3998#issuecomment-157960038","issue_url":"https://api.github.com/repos/facebook/presto/issues/3998","id":157960038,"user":{"login":"cberner","id":842688,"avatar_url":"https://avatars.githubusercontent.com/u/842688?v=3","gravatar_id":"","url":"https://api.github.com/users/cberner","html_url":"https://github.com/cberner","followers_url":"https://api.github.com/users/cberner/followers","following_url":"https://api.github.com/users/cberner/following{/other_user}","gists_url":"https://api.github.com/users/cberner/gists{/gist_id}","starred_url":"https://api.github.com/users/cberner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cberner/subscriptions","organizations_url":"https://api.github.com/users/cberner/orgs","repos_url":"https://api.github.com/users/cberner/repos","events_url":"https://api.github.com/users/cberner/events{/privacy}","received_events_url":"https://api.github.com/users/cberner/received_events","type":"User","site_admin":false},"created_at":"2015-11-19T05:58:34Z","updated_at":"2015-11-19T05:58:34Z","body":"It's the way our internal client `Metadata` is written. We create a new `HiveMetadata` object for every metadata call, which in turn creates a new `ThreadFactory` with its own `ThreadGroup`. I'll say \"Not having this forces connectors that extend this one to leak ThreadGroups, if they don't reuse HiveMetadata objects.\""}}