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

Fix version detection #562

Closed
emerkle826 opened this issue Oct 28, 2024 · 0 comments · Fixed by #563
Closed

Fix version detection #562

emerkle826 opened this issue Oct 28, 2024 · 0 comments · Fixed by #563

Comments

@emerkle826
Copy link
Contributor

emerkle826 commented Oct 28, 2024

The Metrics fix for #560 unfortunately doesn't work for DSE builds:

ERROR [DSE main thread] 2024-10-28 18:34:25,661  MetricsInterceptor.java:92 - Unable to start metrics endpoint
java.lang.NoClassDefFoundError: org/apache/cassandra/utils/CassandraVersion
	at io.k8ssandra.metrics.builder.CassandraMetricRegistryListener.<init>(CassandraMetricRegistryListener.java:89)
	at io.k8ssandra.metrics.prometheus.CassandraDropwizardExports.<init>(CassandraDropwizardExports.java:42)
	at io.k8ssandra.metrics.interceptors.MetricsInterceptor.intercept(MetricsInterceptor.java:71)
	at org.apache.cassandra.service.CassandraDaemon.start(CassandraDaemon.java)
	at com.datastax.bdp.server.DseDaemon.start(DseDaemon.java:559)
	at org.apache.cassandra.service.CassandraDaemon.activate0(CassandraDaemon.java:830)
	at org.apache.cassandra.service.CassandraDaemon.access$100(CassandraDaemon.java:93)
	at org.apache.cassandra.service.CassandraDaemon$3.run(CassandraDaemon.java:738)
Caused by: java.lang.ClassNotFoundException: org.apache.cassandra.utils.CassandraVersion
	at java.net.URLClassLoader.findClass(URLClassLoader.java:387)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
	... 8 common frames omitted

┆Issue is synchronized with this Jira Story by Unito
┆Issue Number: MAPI-78

emerkle826 added a commit that referenced this issue Oct 28, 2024
* [CHANGE] [#556](#556) Update Management API dependencies to address CVEs
* [CHANGE] [#547](#547) Deprecate Cassandra 3.11 support
* [FEATURE] [#551](#551) Add Cassandra 5.0.2 to the build matrix
* [FEATURE] [#549](#549) Add DSE 6.9.3 to the build matrix
* [ENHANCEMENT] [#552](#552) Improve "liveness" probe implementation
* [BUGFIX] [#553](#553) Fix CassandraTaskExports metric filtering to make it work with 5.0.x Major compactions
* [BUGFIX] [#560](#560) Fix LatencyMetrics bucketing on 4.1 and 5.0 as their reservoir stores the data in microseconds, not nano (unlike 3.11 and 4.0)
* [BUGFIX] [#562](#562) Fix version detection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: No status
Development

Successfully merging a pull request may close this issue.

1 participant