Top "Datastax-java-driver" questions

A Java client driver for Apache Cassandra.

How to get current timestamp with CQL while using Command Line?

I am trying to insert into my CQL table from the command line. I am able to insert everything. But …

cassandra timestamp cql datastax-java-driver
Error while connecting to Cassandra using Java Driver for Apache Cassandra 1.0 from com.example.cassandra

While connecting to Cassandra client using java driver for Cannsandra by DataStax, it is throwing following error.. Exception in thread "…

cassandra datastax-java-driver
Can't connect to cassandra - NoHostAvailableException

I know there are several threads about the NoHostAvailableException but they simply don't provide a solution to my problem. I …

cassandra datastax-java-driver
Cassandra NoHostAvailableException: All host(s) tried for query failed in Production

We have 10 Cassandra nodes in production running Cassandra-2.1.8. We recently upgraded to 2.1.8 version. Previously we were using only 3 nodes running …

java cassandra datastax-java-driver
Datastax Cassandra Driver throwing CodecNotFoundException

The exact Exception is as follows com.datastax.driver.core.exceptions.CodecNotFoundException: Codec not found for requested operation: [varchar <…

guava datastax cloudera-cdh datastax-java-driver spark-cassandra-connector
Cassandra Frequent Read Write Timeouts

I had changed whole codebase from Thrift to CQL using datastax java driver 1.0.1 and cassandra 1.2.6.. with thrift I was getting …

timeout cassandra datastax-java-driver
How to efficiently use Batch writes to cassandra using datastax java driver?

I need to write in Batches to Cassandra using Datastax Java driver and this is my first time I am …

java cassandra datastax-java-driver
Cassandra read timeout

I am pulling big amount of data from cassandra 2.0, but unfortunately getting timeout exception. My table: CREATE KEYSPACE StatisticsKeyspace WITH …

cassandra cassandra-2.0 datastax datastax-java-driver cassandra-cli
Cassandra timeout during read query at consistency ONE (1 responses were required but only 0 replica responded)

I am doing read and update queries on a table having 500000 rows and some times getting below error after processing …

hadoop cassandra apache-spark datastax datastax-java-driver
"All host(s) tried for query failed" Error

My Java code is as follows: import com.datastax.driver.core.Cluster; import com.datastax.driver.core.Metadata; import com.…

cassandra datastax-java-driver