[ 
https://issues.apache.org/jira/browse/SOLR-16528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17634718#comment-17634718
 ] 

Jan Høydahl commented on SOLR-16528:
------------------------------------

I cannot reproduce this
{noformat}
branch_9x
...
openjdk version "11.0.17" 2022-10-18
...
2022-11-16 08:12:21.836 INFO  (main) [] i.j.Configuration Initialized 
tracer=JaegerTracer(version=Java-1.8.1, serviceName=solr, 
reporter=RemoteReporter(sender=HttpSender(), closeEnqueueTimeout=1000), 
sampler=ConstSampler(decision=true, tags={sampler.type=const, 
sampler.param=true}), tags={hostname=MacBook-Pro.home, 
jaeger.version=Java-1.8.1, ip=192.168.1.187}, zipkinSharedRpcSpan=false, 
expandExceptionLogs=false, useTraceId128Bit=false)
...{noformat}
And I see traces coming in at my jaeger-collector.

> Jaegertracer module must include okhttp3 dependency
> ---------------------------------------------------
>
>                 Key: SOLR-16528
>                 URL: https://issues.apache.org/jira/browse/SOLR-16528
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: 9.0
>            Reporter: Jan Høydahl
>            Assignee: Jan Høydahl
>            Priority: Major
>             Fix For: 9.2
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Trying to use the JaegerTracer module with 9.0. Setting up 
> {{JAEGER_ENDPOINT=[http://jaeger:14268/api/traces]}} but then get exception 
> {noformat}
> 2022-11-08 14:42:59.046 ERROR (main) [] o.a.s.c.SolrCore null => 
> java.lang.NoClassDefFoundError: okhttp3/Interceptor
>     at 
> io.jaegertracing.thrift.internal.senders.ThriftSenderFactory.getSender(ThriftSenderFactory.java:20)
> java.lang.NoClassDefFoundError: okhttp3/Interceptor
>     at 
> io.jaegertracing.thrift.internal.senders.ThriftSenderFactory.getSender(ThriftSenderFactory.java:20)
>  ~[?:?]
>     at 
> io.jaegertracing.internal.senders.SenderResolver.getSenderFromFactory(SenderResolver.java:110)
>  ~[?:?]
>     at 
> io.jaegertracing.internal.senders.SenderResolver.resolve(SenderResolver.java:88)
>  ~[?:?]
> {noformat}
> The plugin works with a local agent (JAEGER_AGENT_HOST=myhost), but not for 
> pushing traces directly to the jaeger collector (or in our case OpenTelmetry 
> Collector).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to