Rishabh Patel created HDDS-13741:
------------------------------------
Summary: Cannot export spans to Jaeger in docker environment
Key: HDDS-13741
URL: https://issues.apache.org/jira/browse/HDDS-13741
Project: Apache Ozone
Issue Type: Bug
Reporter: Rishabh Patel
Assignee: Rishabh Patel
All services in docker compose such as OM, SCM, DN, S3G cannot export their
traces to Jaeger.
All services show the same stacktrace:
{code:java}
No '-XX:...' jvm parameters are set. Adding safer GC settings
'-XX:ParallelGCThreads=8' to the OZONE_OPTS
2025-10-04T05:29:35.755014964Z 2025-10-04 05:29:35,751 [main] ERROR
tracing.TracingUtil: Failed to initialize tracing
2025-10-04T05:29:35.755040422Z java.lang.IllegalArgumentException: Invalid
endpoint, must start with http:// or https://: jaeger
2025-10-04T05:29:35.755042672Z at
io.opentelemetry.exporter.internal.ExporterBuilderUtil.validateEndpoint(ExporterBuilderUtil.java:43)
2025-10-04T05:29:35.755044464Z at
io.opentelemetry.exporter.internal.grpc.GrpcExporterBuilder.setEndpoint(GrpcExporterBuilder.java:112)
2025-10-04T05:29:35.755046047Z at
io.opentelemetry.exporter.otlp.trace.OtlpGrpcSpanExporterBuilder.setEndpoint(OtlpGrpcSpanExporterBuilder.java:137)
2025-10-04T05:29:35.755079547Z at
org.apache.hadoop.hdds.tracing.TracingUtil.initialize(TracingUtil.java:98)
2025-10-04T05:29:35.755082714Z at
org.apache.hadoop.hdds.tracing.TracingUtil.initTracing(TracingUtil.java:72)
2025-10-04T05:29:35.755083797Z at
org.apache.hadoop.ozone.s3.Gateway.call(Gateway.java:77)
2025-10-04T05:29:35.755084714Z at
org.apache.hadoop.ozone.s3.Gateway.call(Gateway.java:52)
2025-10-04T05:29:35.755085422Z at
picocli.CommandLine.executeUserObject(CommandLine.java:2031)
2025-10-04T05:29:35.755086089Z at
picocli.CommandLine.access$1500(CommandLine.java:148)
2025-10-04T05:29:35.755086880Z at
picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2469)
2025-10-04T05:29:35.755087630Z at
picocli.CommandLine$RunLast.handle(CommandLine.java:2461)
2025-10-04T05:29:35.755088297Z at
picocli.CommandLine$RunLast.handle(CommandLine.java:2423)
2025-10-04T05:29:35.755089005Z at
picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2277)
2025-10-04T05:29:35.755089672Z at
picocli.CommandLine$RunLast.execute(CommandLine.java:2425)
2025-10-04T05:29:35.755090339Z at
picocli.CommandLine.execute(CommandLine.java:2174)
2025-10-04T05:29:35.755090964Z at
org.apache.hadoop.hdds.cli.GenericCli.execute(GenericCli.java:89)
2025-10-04T05:29:35.755091672Z at
org.apache.hadoop.hdds.cli.GenericCli.run(GenericCli.java:80)
2025-10-04T05:29:35.755092339Z at
org.apache.hadoop.ozone.s3.Gateway.main(Gateway.java:70)
2025-10-04T05:29:37.050918214Z 2025-10-04 05:29:37,050 [main] INFO
http.BaseHttpServer: Starting Web-server for s3gateway at: http://0.0.0.0:9878
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]