连接到 cassandra 的兼容 Hector 版本是哪个?我有 apache cassandra 1.2.5
是 Core 0.8.0-2 / 1.0-1 还是 Test 1.0-1 或 HOM 1.1-02/2.0-01/3.0-01
如果是 apache-cassandra 1.2.5,我需要使用哪一个
谢谢!
连接到 cassandra 的兼容 Hector 版本是哪个?我有 apache cassandra 1.2.5
是 Core 0.8.0-2 / 1.0-1 还是 Test 1.0-1 或 HOM 1.1-02/2.0-01/3.0-01
如果是 apache-cassandra 1.2.5,我需要使用哪一个
谢谢!
You want the latest core version (to get the very latest clone the git repository and build it using maven, or the much simpler option, use hector's maven repository and add the dependency which can be found below). The test version is unit tests, but building the whole git repository and including the tests along side the core driver shouldn't be a problem.
<dependency>
<groupId>me.prettyprint</groupId>
<artifactId>hector-core</artifactId>
<version>1.0-5</version>
</dependency>
So from the dependency you can see the latest version is 1.0-5. For latest Cassandra pick the latest driver, if that fails get their last known 'production ready' version which in this case would appear to be 1.0-5.
But on a side note, pick a better driver, Hector is known for being difficult to work with and datastax advise use of cql drivers for new Cassandra applications.