incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Tinker <>
Subject Occasional NPE using DataStax Java driver
Date Thu, 19 Dec 2013 07:21:24 GMT
We are using Cassandra 2.0.3-1 installed on Ubuntu 12.04 from the
DataStax repo with the DataStax Java driver version 2.0.0-rc1. Every
now and then we get the following exception:

2013-12-19 06:56:34,619 [sql-2-t15] ERROR core.RequestHandler  -
Unexpected error while querying /x.x.x.x
at com.datastax.driver.core.HostConnectionPool.waitForConnection(
at com.datastax.driver.core.HostConnectionPool.borrowConnection(
at com.datastax.driver.core.RequestHandler.query(
at com.datastax.driver.core.RequestHandler.sendRequest(
at com.datastax.driver.core.Session$Manager.execute(
at com.datastax.driver.core.Session$Manager.executeQuery(
at com.datastax.driver.core.Session.executeAsync(

This happens during a big data load process which will do up to 256
executeAsync's in parallel.

Any ideas? Its not causing huge problems because the operation is just
retried by our code but it would be nice to eliminate it.

View raw message