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

Metrics endpoint fails to start for some DSE images #422

Closed
emerkle826 opened this issue Nov 14, 2023 · 0 comments · Fixed by #423
Closed

Metrics endpoint fails to start for some DSE images #422

emerkle826 opened this issue Nov 14, 2023 · 0 comments · Fixed by #423
Assignees
Labels
done Issues in the state 'done'

Comments

@emerkle826
Copy link
Contributor

emerkle826 commented Nov 14, 2023

Some newer DSE images fail to startup the metrics endpoint due to library upgrades:

ERROR [DSE main thread] 2023-11-14 13:13:12,810  MetricsInterceptor.java:92 - Unable to start metrics endpoint
java.lang.NoSuchMethodError: org.yaml.snakeyaml.parser.ParserImpl.<init>(Lorg/yaml/snakeyaml/reader/StreamReader;)V
	at com.fasterxml.jackson.dataformat.yaml.YAMLParser.<init>(YAMLParser.java:178)
	at com.fasterxml.jackson.dataformat.yaml.YAMLFactory._createParser(YAMLFactory.java:471)
	at com.fasterxml.jackson.dataformat.yaml.YAMLFactory.createParser(YAMLFactory.java:375)
	at com.fasterxml.jackson.dataformat.yaml.YAMLFactory.createParser(YAMLFactory.java:15)
	at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3642)
	at io.k8ssandra.metrics.config.ConfigReader.readConfig(ConfigReader.java:38)
	at io.k8ssandra.metrics.interceptors.MetricsInterceptor.intercept(MetricsInterceptor.java:68)
	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)
@emerkle826 emerkle826 moved this to Ready For Review in K8ssandra Nov 16, 2023
@adejanovski adejanovski added the ready-for-review Issues in the state 'ready-for-review' label Nov 16, 2023
@emerkle826 emerkle826 self-assigned this Nov 16, 2023
@burmanm burmanm moved this from Ready For Review to Review in K8ssandra Nov 16, 2023
@adejanovski adejanovski added review Issues in the state 'review' and removed ready-for-review Issues in the state 'ready-for-review' labels Nov 16, 2023
@github-project-automation github-project-automation bot moved this from Review to Done in K8ssandra Nov 16, 2023
@adejanovski adejanovski added done Issues in the state 'done' and removed review Issues in the state 'review' labels Nov 16, 2023
emerkle826 added a commit that referenced this issue Nov 16, 2023
* [CHANGE]  [#425](#425) Shade Jackson libraries in agents
* [BUGFIX]  [#413](#413) UBI8 images do not terminate correctly
* [BUGFIX]  [#360](#360) Support Cassandra 5.0-alpha1
* [BUGFIX]  [#415](#415) Some jvm_* metrics aren't labelled correctly
* [BUGFIX]  [#422](#422) Metrics endpoint fails to start for some DSE images
* [FEATURE] [#398](#398) Make Management API port configurable
* [FEATURE] [#419](#419) Add DSE 6.8.40 to the build matrix
* [FEATURE] [#397](#397) Add Cassandra 4.0.11, 4.1.3 5.0-alpha2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
done Issues in the state 'done'
Projects
No open projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants