-
Notifications
You must be signed in to change notification settings - Fork 28.4k
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
[SPARK-22135] [MESOS] metrics in spark-dispatcher not being registered properly #19358
Conversation
ok to test. |
Would you please add a [MESOS]tag in your PR title, like other PR did. Thanks. |
Test build #82218 has finished for PR 19358 at commit
|
override def sourceName: String = "mesos_cluster" | ||
override def metricRegistry: MetricRegistry = new MetricRegistry() | ||
override def metricRegistry: MetricRegistry = registry |
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.
Actually, just change both of these to override val ...
thanks for the quick review @srowen and @jerryshao - both requested changes committed |
Test build #82235 has finished for PR 19358 at commit
|
LGTM. |
Merging to master and branch 2.2. Thanks! |
… properly ## What changes were proposed in this pull request? Fix a trivial bug with how metrics are registered in the mesos dispatcher. Bug resulted in creating a new registry each time the metricRegistry() method was called. ## How was this patch tested? Verified manually on local mesos setup Author: Paul Mackles <pmackles@adobe.com> Closes #19358 from pmackles/SPARK-22135. (cherry picked from commit f20be4d) Signed-off-by: jerryshao <sshao@hortonworks.com>
… properly ## What changes were proposed in this pull request? Fix a trivial bug with how metrics are registered in the mesos dispatcher. Bug resulted in creating a new registry each time the metricRegistry() method was called. ## How was this patch tested? Verified manually on local mesos setup Author: Paul Mackles <pmackles@adobe.com> Closes apache#19358 from pmackles/SPARK-22135. (cherry picked from commit f20be4d) Signed-off-by: jerryshao <sshao@hortonworks.com>
What changes were proposed in this pull request?
Fix a trivial bug with how metrics are registered in the mesos dispatcher. Bug resulted in creating a new registry each time the metricRegistry() method was called.
How was this patch tested?
Verified manually on local mesos setup