1

Refer to Is there a Java interface to Cassandra database that works out of the box? for my original issue.

I determined that the cassandra thrift API jar file I downloade was incomplete or out of sync with the Hector API. Where can I download it? I haven't been able to find a download for it from the official site.

Community
  • 1
  • 1
user1258361
  • 1,133
  • 2
  • 16
  • 25

3 Answers3

1

The Maven repository are always a good choice for precompiled libs:

http://mvnrepository.com/artifact/org.apache.cassandra/cassandra-thrift

It also lists all dependencies. You could also use a Maven file (or another compatible build system) to download the lib with all it's dependencies automatically.

unnu
  • 744
  • 1
  • 5
  • 13
0

As far as I know there isn't an official jar that you can download. But you can grab the source-code here and compile it yourself:

http://thrift.apache.org/download/

If you use maven then you can just include the following in your pom:

<dependency>
    <groupId>org.apache.thrift</groupId>
    <artifactId>libthrift</artifactId>
    <version>x.y.z</version>
</dependency>
agentgonzo
  • 3,473
  • 3
  • 25
  • 30
0

If you download one of the release tgz files from https://github.com/rantav/hector/downloads it has the correct cassandra thrift to match the version of hector.

Zanson
  • 3,991
  • 25
  • 31