cassandra-client-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jake Luciani <jak...@gmail.com>
Subject Re: Newest, fastest Thrift library?
Date Tue, 19 Oct 2010 23:16:33 GMT
The wire format for thrift is the same, if you try and use Pelops with
thrift 0.5 it won't work.

On Tue, Oct 19, 2010 at 7:10 PM, Dan Washusen <dan@reactive.org> wrote:

> I just did a quick test by dropping the thrift 0.5.0 jar into Pelops and
> got
> the following error:
>
>
> > java.lang.NoSuchMethodError:
> > org.apache.thrift.protocol.TProtocol.writeBinary([B)V
>
> at org.apache.cassandra.thrift.ColumnDef.write(ColumnDef.java:562)
>
> at org.apache.cassandra.thrift.CfDef.write(CfDef.java:1570)
>
> at org.apache.cassandra.thrift.KsDef.write(KsDef.java:732)
>
> at
> >
> org.apache.cassandra.thrift.Cassandra$system_add_keyspace_args.write(Cassandra.java:25169)
>
> at
> >
> org.apache.cassandra.thrift.Cassandra$Client.send_system_add_keyspace(Cassandra.java:1447)
>
> at
> >
> org.apache.cassandra.thrift.Cassandra$Client.system_add_keyspace(Cassandra.java:1438)
>
>
> Is there something more to it than just replacing the thrift jar?
>
> On Wed, Oct 20, 2010 at 8:21 AM, Ryan King <ryan@twitter.com> wrote:
>
> > You're confusing the issues. That ticket is to upgrade the server. You
> > can upgrade our clients independently.
> >
> > -ryan
> >
> > On Tue, Oct 19, 2010 at 2:16 PM, Dan Washusen <dan@reactive.org> wrote:
> > > Thanks for the info.
> > >
> > > The Jira issue says it's targeting 0.8 but Jonathan's comment seems to
> > > suggest that there is something to do now....?
> > >
> > > Cheers,
> > > Dan
> > >
> > > On Wed, Oct 20, 2010 at 8:07 AM, Nate McCall <nate@riptano.com> wrote:
> > >
> > >> As I understand it, this is being tracked on:
> > >> https://issues.apache.org/jira/browse/CASSANDRA-1367
> > >>
> > >> The following is helpful for some background from the Thrift side of
> > >> things:
> > >>
> > >>
> >
> http://blog.rapleaf.com/dev/2010/10/19/striving-for-zero-copies-with-thrift-0.5/
> > >>
> > >> On Tue, Oct 19, 2010 at 3:33 PM, Dan Washusen <dan@reactive.org>
> wrote:
> > >> > Jonathan recently mentioned a "newest, fastest Thrift library".  Can
> > >> someone
> > >> > expand on this a little?
> > >> >
> > >> > Pelops 0.907-0.7.0-SNAPSHOT is currently using Thrift v959516 which
> > seems
> > >> to
> > >> > match the version in the beta2 release...?
> > >> >
> > >> > Cheers,
> > >> > Dan
> > >> >
> > >> > On Wed, Oct 20, 2010 at 4:18 AM, Jonathan Ellis <jbellis@gmail.com>
> > >> wrote:
> > >> >
> > >> >> I would expect C++ or Java to be substantially faster than Python.
> > >> >> However, I note that Hector (and I believe Pelops) don't yet use
> the
> > >> >> newest, fastest Thrift library.
> > >> >
> > >>
> > >
> >
>

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