{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/14093","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/14093/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/14093/comments","events_url":"https://api.github.com/repos/apache/spark/issues/14093/events","html_url":"https://github.com/apache/spark/pull/14093","id":164354452,"number":14093,"title":"SPARK-16420: Ensure compression streams are closed.","user":{"login":"rdblue","id":87915,"avatar_url":"https://avatars.githubusercontent.com/u/87915?v=3","gravatar_id":"","url":"https://api.github.com/users/rdblue","html_url":"https://github.com/rdblue","followers_url":"https://api.github.com/users/rdblue/followers","following_url":"https://api.github.com/users/rdblue/following{/other_user}","gists_url":"https://api.github.com/users/rdblue/gists{/gist_id}","starred_url":"https://api.github.com/users/rdblue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdblue/subscriptions","organizations_url":"https://api.github.com/users/rdblue/orgs","repos_url":"https://api.github.com/users/rdblue/repos","events_url":"https://api.github.com/users/rdblue/events{/privacy}","received_events_url":"https://api.github.com/users/rdblue/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-07T16:38:48Z","updated_at":"2016-07-07T18:26:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/14093","html_url":"https://github.com/apache/spark/pull/14093","diff_url":"https://github.com/apache/spark/pull/14093.diff","patch_url":"https://github.com/apache/spark/pull/14093.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nThis uses the try/finally pattern to ensure streams are closed after use. `UnsafeShuffleWriter` wasn't closing compression streams, causing them to leak resources until garbage collected. This was causing a problem with codecs that use off-heap memory.\r\n\r\n## How was this patch tested?\r\n\r\nCurrent tests are sufficient. This should not change behavior.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/231165471","html_url":"https://github.com/apache/spark/pull/14093#issuecomment-231165471","issue_url":"https://api.github.com/repos/apache/spark/issues/14093","id":231165471,"user":{"login":"SparkQA","id":8108735,"avatar_url":"https://avatars.githubusercontent.com/u/8108735?v=3","gravatar_id":"","url":"https://api.github.com/users/SparkQA","html_url":"https://github.com/SparkQA","followers_url":"https://api.github.com/users/SparkQA/followers","following_url":"https://api.github.com/users/SparkQA/following{/other_user}","gists_url":"https://api.github.com/users/SparkQA/gists{/gist_id}","starred_url":"https://api.github.com/users/SparkQA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SparkQA/subscriptions","organizations_url":"https://api.github.com/users/SparkQA/orgs","repos_url":"https://api.github.com/users/SparkQA/repos","events_url":"https://api.github.com/users/SparkQA/events{/privacy}","received_events_url":"https://api.github.com/users/SparkQA/received_events","type":"User","site_admin":false},"created_at":"2016-07-07T18:26:12Z","updated_at":"2016-07-07T18:26:12Z","body":"**[Test build #61916 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/61916/consoleFull)** for PR 14093 at commit [`14ba621`](https://github.com/apache/spark/commit/14ba62197e57ace8940ce71f5a6e5608b6765661).\n * This patch **fails Spark unit tests**.\n * This patch merges cleanly.\n * This patch adds no public classes."}}
{"actor":{"display_login":"SparkQA"}}