-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-24398] [SQL] Improve SQLAppStatusListener.aggregateMetrics() too slow #21438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
please see http://spark.apache.org/contributing.html on "Pull Request" also fix the PR title to start with |
|
Please update the PR description. |
|
|
||
| private def aggregateMetrics(exec: LiveExecutionData): Map[Long, String] = { | ||
| val metricIds = exec.metrics.map(_.accumulatorId).sorted | ||
| val metricIds = exec.metrics.map(_.accumulatorId).toSet |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can get rid of metricIds
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, we can use metricTypes
|
ok to test |
|
Test build #91234 has finished for PR 21438 at commit
|
|
ok to test |
|
I think filtering off |
|
Test build #91641 has finished for PR 21438 at commit
|
|
@felixcheung |
|
Just following up on this old small PR @gatorsmile @frb502 -- was there a different solution here that makes sense? should this be closed? |
What changes were proposed in this pull request?
JIRA Issue: https://issues.apache.org/jira/browse/SPARK-24398
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)
Please review http://spark.apache.org/contributing.html before opening a pull request.