You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Gerald Kallas <ca...@mailbox.org.INVALID> on 2021/09/14 10:49:34 UTC

Camel-K Tracing Trait error

Dear Camel-K folks.

I did install on a GKE
* Camel-K 1.6
* the Jaeger Operator following https://github.com/jaegertracing/jaeger-operator
The Jaeger starts well.

Afterwards I did execute

kamel run --trait tracing.enabled=true --trait tracing.auto=true hello.groovy

hello.groovy looks like

from('timer:tick?period=3000')
.setBody().constant('Hello world from Camel K')
.to('log:info')

The log of the Camel-K route shows periodically

[1] 2021-09-14 10:38:03,978 WARN [io.jae.int.rep.RemoteReporter] (jaeger.RemoteReporter-QueueProcessor) FlushCommand execution failed! Repeated errors of this command will not be logged.: io.jaegertracing.internal.exceptions.SenderException: Failed to flush spans.
[1] at io.jaegertracing.thrift.internal.senders.ThriftSender.flush(ThriftSender.java:116)
[1] at io.jaegertracing.internal.reporters.RemoteReporter$FlushCommand.execute(RemoteReporter.java:160)
[1] at io.jaegertracing.internal.reporters.RemoteReporter$QueueProcessor.run(RemoteReporter.java:182)
[1] at java.base/java.lang.Thread.run(Thread.java:829)
[1] Caused by: io.jaegertracing.internal.exceptions.SenderException: Could not send 1 spans
[1] at io.jaegertracing.thrift.internal.senders.UdpSender.send(UdpSender.java:86)
[1] at io.jaegertracing.thrift.internal.senders.ThriftSender.flush(ThriftSender.java:114)
[1] ... 3 more
[1] Caused by: org.apache.thrift.transport.TTransportException: Cannot flush closed transport
[1] at io.jaegertracing.thrift.internal.reporters.protocols.ThriftUdpTransport.flush(ThriftUdpTransport.java:151)
[1] at org.apache.thrift.TServiceClient.sendBase(TServiceClient.java:73)
[1] at org.apache.thrift.TServiceClient.sendBaseOneway(TServiceClient.java:66)
[1] at io.jaegertracing.agent.thrift.Agent$Client.send_emitBatch(Agent.java:70)
[1] at io.jaegertracing.agent.thrift.Agent$Client.emitBatch(Agent.java:63)
[1] at io.jaegertracing.thrift.internal.senders.UdpSender.send(UdpSender.java:84)
[1] ... 4 more
[1] Caused by: java.net.PortUnreachableException: ICMP Port Unreachable
[1] at java.base/java.net.PlainDatagramSocketImpl.send(Native Method)
[1] at java.base/java.net.DatagramSocket.send(DatagramSocket.java:695)
[1] at io.jaegertracing.thrift.internal.reporters.protocols.ThriftUdpTransport.flush(ThriftUdpTransport.java:149)
[1] ... 9 more
[1]

Any idea what's missing here?

Thanks in advance
Gerald

Re: Camel-K Tracing Trait error

Posted by Andrea Cosentino <an...@gmail.com>.
I think it makes sense to report this as question on the github issues.

Il giorno mar 14 set 2021 alle ore 12:49 Gerald Kallas
<ca...@mailbox.org.invalid> ha scritto:

> Dear Camel-K folks.
>
> I did install on a GKE
> * Camel-K 1.6
> * the Jaeger Operator following
> https://github.com/jaegertracing/jaeger-operator
> The Jaeger starts well.
>
> Afterwards I did execute
>
> kamel run --trait tracing.enabled=true --trait tracing.auto=true
> hello.groovy
>
> hello.groovy looks like
>
> from('timer:tick?period=3000')
> .setBody().constant('Hello world from Camel K')
> .to('log:info')
>
> The log of the Camel-K route shows periodically
>
> [1] 2021-09-14 10:38:03,978 WARN [io.jae.int.rep.RemoteReporter]
> (jaeger.RemoteReporter-QueueProcessor) FlushCommand execution failed!
> Repeated errors of this command will not be logged.:
> io.jaegertracing.internal.exceptions.SenderException: Failed to flush spans.
> [1] at
> io.jaegertracing.thrift.internal.senders.ThriftSender.flush(ThriftSender.java:116)
> [1] at
> io.jaegertracing.internal.reporters.RemoteReporter$FlushCommand.execute(RemoteReporter.java:160)
> [1] at
> io.jaegertracing.internal.reporters.RemoteReporter$QueueProcessor.run(RemoteReporter.java:182)
> [1] at java.base/java.lang.Thread.run(Thread.java:829)
> [1] Caused by: io.jaegertracing.internal.exceptions.SenderException: Could
> not send 1 spans
> [1] at
> io.jaegertracing.thrift.internal.senders.UdpSender.send(UdpSender.java:86)
> [1] at
> io.jaegertracing.thrift.internal.senders.ThriftSender.flush(ThriftSender.java:114)
> [1] ... 3 more
> [1] Caused by: org.apache.thrift.transport.TTransportException: Cannot
> flush closed transport
> [1] at
> io.jaegertracing.thrift.internal.reporters.protocols.ThriftUdpTransport.flush(ThriftUdpTransport.java:151)
> [1] at org.apache.thrift.TServiceClient.sendBase(TServiceClient.java:73)
> [1] at
> org.apache.thrift.TServiceClient.sendBaseOneway(TServiceClient.java:66)
> [1] at
> io.jaegertracing.agent.thrift.Agent$Client.send_emitBatch(Agent.java:70)
> [1] at io.jaegertracing.agent.thrift.Agent$Client.emitBatch(Agent.java:63)
> [1] at
> io.jaegertracing.thrift.internal.senders.UdpSender.send(UdpSender.java:84)
> [1] ... 4 more
> [1] Caused by: java.net.PortUnreachableException: ICMP Port Unreachable
> [1] at java.base/java.net.PlainDatagramSocketImpl.send(Native Method)
> [1] at java.base/java.net.DatagramSocket.send(DatagramSocket.java:695)
> [1] at
> io.jaegertracing.thrift.internal.reporters.protocols.ThriftUdpTransport.flush(ThriftUdpTransport.java:149)
> [1] ... 9 more
> [1]
>
> Any idea what's missing here?
>
> Thanks in advance
> Gerald

Re: Camel-K Tracing Trait error

Posted by Gerald Kallas <ca...@mailbox.org.INVALID>.
Hi Andrea,

thanks for your response.

I opened an issue. See https://github.com/apache/camel-k/issues/2633

Best
Gerald

> Gerald Kallas <ca...@mailbox.org.invalid> hat am 14.09.2021 12:49 geschrieben:
> 
>  
> Dear Camel-K folks.
> 
> I did install on a GKE
> * Camel-K 1.6
> * the Jaeger Operator following https://github.com/jaegertracing/jaeger-operator
> The Jaeger starts well.
> 
> Afterwards I did execute
> 
> kamel run --trait tracing.enabled=true --trait tracing.auto=true hello.groovy
> 
> hello.groovy looks like
> 
> from('timer:tick?period=3000')
> .setBody().constant('Hello world from Camel K')
> .to('log:info')
> 
> The log of the Camel-K route shows periodically
> 
> [1] 2021-09-14 10:38:03,978 WARN [io.jae.int.rep.RemoteReporter] (jaeger.RemoteReporter-QueueProcessor) FlushCommand execution failed! Repeated errors of this command will not be logged.: io.jaegertracing.internal.exceptions.SenderException: Failed to flush spans.
> [1] at io.jaegertracing.thrift.internal.senders.ThriftSender.flush(ThriftSender.java:116)
> [1] at io.jaegertracing.internal.reporters.RemoteReporter$FlushCommand.execute(RemoteReporter.java:160)
> [1] at io.jaegertracing.internal.reporters.RemoteReporter$QueueProcessor.run(RemoteReporter.java:182)
> [1] at java.base/java.lang.Thread.run(Thread.java:829)
> [1] Caused by: io.jaegertracing.internal.exceptions.SenderException: Could not send 1 spans
> [1] at io.jaegertracing.thrift.internal.senders.UdpSender.send(UdpSender.java:86)
> [1] at io.jaegertracing.thrift.internal.senders.ThriftSender.flush(ThriftSender.java:114)
> [1] ... 3 more
> [1] Caused by: org.apache.thrift.transport.TTransportException: Cannot flush closed transport
> [1] at io.jaegertracing.thrift.internal.reporters.protocols.ThriftUdpTransport.flush(ThriftUdpTransport.java:151)
> [1] at org.apache.thrift.TServiceClient.sendBase(TServiceClient.java:73)
> [1] at org.apache.thrift.TServiceClient.sendBaseOneway(TServiceClient.java:66)
> [1] at io.jaegertracing.agent.thrift.Agent$Client.send_emitBatch(Agent.java:70)
> [1] at io.jaegertracing.agent.thrift.Agent$Client.emitBatch(Agent.java:63)
> [1] at io.jaegertracing.thrift.internal.senders.UdpSender.send(UdpSender.java:84)
> [1] ... 4 more
> [1] Caused by: java.net.PortUnreachableException: ICMP Port Unreachable
> [1] at java.base/java.net.PlainDatagramSocketImpl.send(Native Method)
> [1] at java.base/java.net.DatagramSocket.send(DatagramSocket.java:695)
> [1] at io.jaegertracing.thrift.internal.reporters.protocols.ThriftUdpTransport.flush(ThriftUdpTransport.java:149)
> [1] ... 9 more
> [1]
> 
> Any idea what's missing here?
> 
> Thanks in advance
> Gerald