{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/11138","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/11138/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/11138/comments","events_url":"https://api.github.com/repos/apache/spark/issues/11138/events","html_url":"https://github.com/apache/spark/pull/11138","id":132509157,"number":11138,"title":"[SPARK-13245][Core]Call shuffleMetrics methods only in one thread for ShuffleBlockFetcherIterator","user":{"login":"zsxwing","id":1000778,"avatar_url":"https://avatars.githubusercontent.com/u/1000778?v=3","gravatar_id":"","url":"https://api.github.com/users/zsxwing","html_url":"https://github.com/zsxwing","followers_url":"https://api.github.com/users/zsxwing/followers","following_url":"https://api.github.com/users/zsxwing/following{/other_user}","gists_url":"https://api.github.com/users/zsxwing/gists{/gist_id}","starred_url":"https://api.github.com/users/zsxwing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zsxwing/subscriptions","organizations_url":"https://api.github.com/users/zsxwing/orgs","repos_url":"https://api.github.com/users/zsxwing/repos","events_url":"https://api.github.com/users/zsxwing/events{/privacy}","received_events_url":"https://api.github.com/users/zsxwing/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-09T19:26:09Z","updated_at":"2016-02-09T20:22:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/11138","html_url":"https://github.com/apache/spark/pull/11138","diff_url":"https://github.com/apache/spark/pull/11138.diff","patch_url":"https://github.com/apache/spark/pull/11138.patch"},"body":"Call shuffleMetrics's incRemoteBytesRead and incRemoteBlocksFetched when polling FetchResult from `results` so as to always use shuffleMetrics in one thread. \r\n\r\nAlso fix a race condition that could cause memory leak."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/182045643","html_url":"https://github.com/apache/spark/pull/11138#issuecomment-182045643","issue_url":"https://api.github.com/repos/apache/spark/issues/11138","id":182045643,"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-02-09T20:22:12Z","updated_at":"2016-02-09T20:22:12Z","body":"**[Test build #50993 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/50993/consoleFull)** for PR 11138 at commit [`db0e1d2`](https://github.com/apache/spark/commit/db0e1d23ea3b045096e6dab0004d01797a0f0270)."}}