-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-29557][BUILD] Update dropwizard/codahale metrics library to 3.2.6 #26212
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
|
ok to test |
|
Test build #112480 has finished for PR 26212 at commit
|
a77a273 to
a751820
Compare
|
Test build #112482 has finished for PR 26212 at commit
|
dongjoon-hyun
left a comment
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.
Hi, @LucaCanali . You need to run the following to update the dependency manifest.
$ dev/test-dependencies.sh --replace-manifest
|
Test build #112514 has finished for PR 26212 at commit
|
|
Could you take a look at the build error? Apache Spark needs to support It seems 3.2.6 was the last version. Do we need to add another dependency? |
|
Ur, it seems due to this. They officially dropped this at 4.0. |
|
Indeed, the latest version of metrics-ganglia is 3.2.6. I guess we could update metrics-ganglia to that version and just have it "stuck there", that is using a different version than the other metrics-* components? |
|
Test build #112515 has finished for PR 26212 at commit
|
|
Another thought is that if the GangliaReporter is needed for Apache Spark in the coming years and the Dropwizard community dropped it in recent versions, maybe the Ganglia reporter can be supported by Apache Spark in external/spark-ganglia-lgpl? |
srowen
left a comment
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 would just update to the last version with Ganglia support here. I don't know if we want to support it ourselves if there's not yet a compelling reason to use 4.x.
803a174 to
b22dba0
Compare
|
OK for upgrading to a version with Ganglia support. I guess this discussion about upgrading to metrics versions 4.x or higher may come back at a later stage, I left a note in the JIRA too. |
|
Yeah disregard that, this change no longer brings in a new component. |
srowen
left a comment
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.
Looks OK pending tests
|
Test build #112549 has finished for PR 26212 at commit
|
dongjoon-hyun
left a comment
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, LGTM. Thank you, @LucaCanali and @srowen .
What changes were proposed in this pull request?
This proposes to update the dropwizard/codahale metrics library version used by Spark to
3.2.6which is the last version supporting Ganglia.Why are the changes needed?
Spark is currently using Dropwizard metrics version 3.1.5, a version that is no more actively developed nor maintained, according to the project's Github repo README.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Existing tests + manual tests on a YARN cluster.