thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Duxbury <br...@rapleaf.com>
Subject Re: Compatible of client 02x to 05x
Date Wed, 27 Oct 2010 05:17:26 GMT
Yes, this is true. However, you can solve this problem by simply
regenerating the Java code from the thrift file.

However, the question you asked is whether an 0.2/0.3 client can communicate
with an 0.5 server, to which the answer is categorically, "yes".

On Tue, Oct 26, 2010 at 10:07 PM, JKnight JKnight <beuknight@gmail.com>wrote:

> Thrift 040 change method
> from 030
>  public abstract void writeBinary(byte[] paramArrayOfByte)
>    throws TException;
> to
>  public abstract void writeBinary(ByteBuffer paramByteBuffer)
>    throws TException;
>
> so that if client use that method will throw exception
> java.lang.NoSuchMethodError:
> org.apache.thrift.protocol.TProtocol.writeBinary([B)V
>
>
>
> On Wed, Oct 27, 2010 at 11:47 AM, Bryan Duxbury <bryan@rapleaf.com> wrote:
>
> > All versions are wire compatible.
> >
> > On Tue, Oct 26, 2010 at 9:35 PM, JKnight JKnight <beuknight@gmail.com
> > >wrot0
> >
> > > Dear all,
> > >
> > > Does thrift client 0.2x, 0.3.x compatible with thrift server 0.5.x?
> > >
> > > Could you tell me which version of revision r917130 of thrift?
> > >
> > > Thank a lot for support.
> > > --
> > > Best regards,
> > > JKnight
> > >
> >
>
>
>
> --
> Best regards,
> JKnight
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message