Can I use THttpClient in my client program to connect cassandra server?

2014-03-02 Thread Jim Xu
Hi all, When I read thrift's source code, I see THttpClient.java. Does cassandra support it and can I use it as a transport to connect to cassandra server? Best Regards Jim

Getting different results each time after inserting data into cassandra using lightweight transaction

2014-02-17 Thread Jim Xu
Hi all, The cluster has 5 nodes, one keyspace(RF=3), a table(named t1) and a column family(named cf1,and has two fixed columns each row). Single thread, two test programs to insert data using lightweight transaction. the pseudocode is as follows: program 1: ... for (int i=1;i<1;i++){ ...

Lightweight transaction timeout

2013-12-01 Thread Jim Xu
it. I try to enlarge cas_contention_timeout_in_ms in cassandra.yaml, but it does not work. my cassandra version is 2.0.3, and the cluster has two nodes with keypsace's replication_factor is 2. Best Regards Jim Xu