{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/21532","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/21532/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/21532/comments","events_url":"https://api.github.com/repos/apache/spark/issues/21532/events","html_url":"https://github.com/apache/spark/pull/21532","id":331360942,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0MTExNjQx","number":21532,"title":"[SPARK-24524][SQL]Improve aggregateMetrics: reduce memory usage and number of loops","user":{"login":"gengliangwang","id":1097932,"node_id":"MDQ6VXNlcjEwOTc5MzI=","avatar_url":"https://avatars0.githubusercontent.com/u/1097932?v=4","gravatar_id":"","url":"https://api.github.com/users/gengliangwang","html_url":"https://github.com/gengliangwang","followers_url":"https://api.github.com/users/gengliangwang/followers","following_url":"https://api.github.com/users/gengliangwang/following{/other_user}","gists_url":"https://api.github.com/users/gengliangwang/gists{/gist_id}","starred_url":"https://api.github.com/users/gengliangwang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gengliangwang/subscriptions","organizations_url":"https://api.github.com/users/gengliangwang/orgs","repos_url":"https://api.github.com/users/gengliangwang/repos","events_url":"https://api.github.com/users/gengliangwang/events{/privacy}","received_events_url":"https://api.github.com/users/gengliangwang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-06-11T21:42:56Z","updated_at":"2018-06-12T01:15:51Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/21532","html_url":"https://github.com/apache/spark/pull/21532","diff_url":"https://github.com/apache/spark/pull/21532.diff","patch_url":"https://github.com/apache/spark/pull/21532.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nThe function `aggregateMetrics` process metrics from both executors and driver. The data can be large. \r\n\r\nThis PR is to improve the implementation with one loop(before converting to string) and one dynamic data structure.\r\n\r\n\r\n## How was this patch tested?\r\n\r\nUnit test\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/396434690","html_url":"https://github.com/apache/spark/pull/21532#issuecomment-396434690","issue_url":"https://api.github.com/repos/apache/spark/issues/21532","id":396434690,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NjQzNDY5MA==","user":{"login":"SparkQA","id":8108735,"node_id":"MDQ6VXNlcjgxMDg3MzU=","avatar_url":"https://avatars1.githubusercontent.com/u/8108735?v=4","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":"2018-06-12T01:15:51Z","updated_at":"2018-06-12T01:15:51Z","author_association":"NONE","body":"**[Test build #91676 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/91676/testReport)** for PR 21532 at commit [`f58b944`](https://github.com/apache/spark/commit/f58b94411d6564d66338f97b9e753cd3267dd0cf).\n * This patch passes all tests.\n * This patch merges cleanly.\n * This patch adds no public classes."}}
{"actor":{"display_login":"SparkQA"}}