Skip to content

Upgrade OpenTelemetry dependencies#6286

Open
dlmarion wants to merge 1 commit intoapache:2.1from
dlmarion:otel-upgrade
Open

Upgrade OpenTelemetry dependencies#6286
dlmarion wants to merge 1 commit intoapache:2.1from
dlmarion:otel-upgrade

Conversation

@dlmarion
Copy link
Copy Markdown
Contributor

@dlmarion dlmarion commented Apr 1, 2026

Upgrade OpenTelemetry dependencies. This should resolve https://github.com/apache/accumulo/security/dependabot/25, but
tracing will need to be tested before release.

@dlmarion dlmarion added this to the 2.1.5 milestone Apr 1, 2026
@dlmarion dlmarion self-assigned this Apr 1, 2026
<artifactId>opentelemetry-proto</artifactId>
<!-- This version was selected because it aligns with the version of protocol buffers that Accumulo 2.1 is using. -->
<version>1.3.2-alpha</version>
<version>1.10.0-alpha</version>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Changing this version causes ScanTracingIT to fail because it sets up the agent, the agent uses this library which uses protobuf. The protobuf version this library depends on differs from the protobuf version accumulo depends on.

When I run the test w/ these changes I see exceptions like the following. Not sure if this just at test problem or if this dep change will cause server side serialization of trace data to fail.

java.lang.NoClassDefFoundError: com/google/protobuf/RuntimeVersion$RuntimeDomain
	at io.opentelemetry.proto.collector.trace.v1.ExportTraceServiceRequest.<clinit>(ExportTraceServiceRequest.java:18)
	at org.apache.accumulo.test.tracing.TraceCollector$TraceHandler.handle(TraceCollector.java:60)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)
	at org.eclipse.jetty.server.Server.handle(Server.java:563)
	at org.eclipse.jetty.server.HttpChannel$RequestDispatchable.dispatch(HttpChannel.java:1598)
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:753)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:501)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:287)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:314)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)
	at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:969)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.doRunJob(QueuedThreadPool.java:1194)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1149)
	at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.lang.ClassNotFoundException: com.google.protobuf.RuntimeVersion$RuntimeDomain
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
	... 15 more

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants