Skip to content
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

Upgrade to server-metrics 0.5.0 #4480

Merged
merged 3 commits into from
Jul 26, 2017
Merged

Conversation

leventov
Copy link
Member

Fixes #4083

The incompatible difference is explained here: https://github.com/metamx/server-metrics/releases/tag/server-metrics-0.3.0, jvm/gc/cpu is emitted instead of jvm/gc/time. jvm/gc/time didn't actually reflect "GC time" in any reasonable sense. The new jvm/gc/cpu is the amount of CPU time spend in all GC threads in the JVM, measured in nanoseconds.

@leventov leventov changed the title Upgrade to server-metrics 0.4.3 Upgrade to server-metrics 0.5.0 Jul 25, 2017
<exclusions>
<exclusion>
<groupId>com.metamx</groupId>
<artifactId>java-util</artifactId>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we no longer need to exclude java-util?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@drcrallen Druid doesn't depend on java-util directly. Most if not all deps which depend on it transitively use java-util:0.28.2, including server-metrics.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@drcrallen drcrallen merged commit 684cfbf into apache:master Jul 26, 2017
@drcrallen drcrallen deleted the upgrade-server-metrics branch July 26, 2017 15:56
@a2l007
Copy link
Contributor

a2l007 commented Jul 28, 2017

@leventov After this change, we're hitting a ClassNotFoundException: org.hyperic.jni.ArchNotSupportedException exception from the JvmMonitor class. It seems that in server-metrics 0.5.0, JvmMonitor has a dependency on Sigar which is not pulled into Druid because of the optional dependency.

@drcrallen
Copy link
Contributor

@a2l007 metamx/server-metrics#33 can you peek at that one? it should fix the problem.

@a2l007
Copy link
Contributor

a2l007 commented Aug 1, 2017

@drcrallen once the server-metrics dependency is updated in Druid, it should fix it.

@drcrallen
Copy link
Contributor

#4624

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants