Skip to content
This repository was archived by the owner on Jul 1, 2022. It is now read-only.

Bump thrift version #768

Closed
wants to merge 1 commit into from
Closed

Bump thrift version #768

wants to merge 1 commit into from

Conversation

geoand
Copy link

@geoand geoand commented Mar 1, 2021

No description provided.

@pankaj72981
Copy link

Apache Thrift community recently released 0.14.1 due to some bug fixes. We should upgrade to 0.14.1.

Signed-off-by: Georgios Andrianakis <[email protected]>
@yurishkuro
Copy link
Member

we cannot merge this until #765 is done as we have no CI to validate.

Copy link

@adoroszlai adoroszlai left a comment

Choose a reason for hiding this comment

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

Thanks @geoand for working on this fix. Some code change is necessary for compiling with Thrift 0.14+:

jaeger-thrift/src/main/java/io/jaegertracing/thrift/internal/senders/ThriftSenderBase.java:67: error: constructor AutoExpandingBufferWriteTransport in class AutoExpandingBufferWriteTransport cannot be applied to given types;
    memoryTransport = new AutoExpandingBufferWriteTransport(maxPacketSize, 2);
                      ^
  required: TConfiguration,int,int
  found: int,int
  reason: actual and formal argument lists differ in length

jaeger-thrift/src/main/java/io/jaegertracing/thrift/internal/reporters/protocols/ThriftUdpTransport.java:33: error: ThriftUdpTransport is not abstract and does not override abstract method checkReadBytesAvailable(long) in TTransport
public class ThriftUdpTransport extends TTransport implements Closeable {
       ^

2 errors

> Task :jaeger-thrift:compileJava FAILED

@geoand
Copy link
Author

geoand commented Mar 18, 2021

Oh darn.

I am afraid I don't really know much about Thift so I would just be shooting in the dark.

@yurishkuro
Copy link
Member

fixed in #774

@yurishkuro yurishkuro closed this Mar 21, 2021
JoakimLofgren added a commit to JoakimLofgren/java-spring-jaeger that referenced this pull request May 5, 2021
pavolloffay pushed a commit to opentracing-contrib/java-spring-jaeger that referenced this pull request Jun 3, 2021
* Bump jaeger client

Fixes #121

See jaegertracing/jaeger-client-java#768

* Add throws for new Exception from Jaeger client

Also fix assert to not strip leading zeros,
see jaegertracing/jaeger-client-java#746
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants