While connecting to Cassandra client using java driver for Cannsandra by DataStax, it is throwing following error..
Exception in thread \"main\" com.datastax
I had this issue and it was sorted by setting the ReadTimeout in SocketOptions:
Cluster cluster = Cluster.builder().addContactPoint("localhost").build(); cluster.getConfiguration().getSocketOptions().setReadTimeoutMillis(HIGHER_TIMEOUT);