Defuncting connection to /127.0.0.1:9042
2015-08-26T17:51:09.85+0530 [App/0] OUT com.datastax.driver.core.exceptions.DriverException: Host replied with server error: java.lang.AssertionError
2015-08-26T17:51:09.85+0530 [App/0] OUT at com.datastax.driver.core.RequestHandler$SpeculativeExecution.onSet(RequestHandler.java:515) ~[cassandra-driver-core-2.1.7.1.jar:na]
2015-08-26T17:51:09.85+0530 [App/0] OUT at com.datastax.driver.core.Connection$Dispatcher.channelRead0(Connection.java:991) [cassandra-driver-core-2.1.7.1.jar:na]
2015-08-26T17:51:09.85+0530 [App/0] OUT at com.datastax.driver.core.Connection$Dispatcher.channelRead0(Connection.java:913) [cassandra-driver-core-2.1.7.1.jar:na]
2015-08-26T17:51:09.85+0530 [App/0] OUT at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) [netty-all-4.0.23.Final.jar:4.0.23.Final]
2015-08-26T17:51:09.85+0530 [App/0] OUT at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) [netty-all-4.0.23.Final.jar:4.0.23.Final]
2015-08-26T17:51:09.85+0530 [App/0] OUT at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) [netty-all-4.0.23.Final.jar:4.0.23.Final]
2015-08-26T17:51:09.85+0530 [App/0] OUT at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:254) [netty-all-4.0.23.Final.jar:4.0.23.Final]
2015-08-26T17:51:09.85+0530 [App/0] OUT at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) [netty-all-4.0.23.Final.jar:4.0.23.Final]
2015-08-26T17:51:09.85+0530 [App/0] OUT at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) [netty-all-4.0.23.Final.jar:4.0.23.Final]
2015-08-26T17:51:09.85+0530 [App/0] OUT at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) [netty-all-4.0.23.Final.jar:4.0.23.Final]
2015-08-26T17:51:09.85+0530 [App/0] OUT at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) [netty-all-4.0.23.Final.jar:4.0.23.Final]
2015-08-26T17:51:09.85+0530 [App/0] OUT at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) [netty-all-4.0.23.Final.jar:4.0.23.Final]
2015-08-26T17:51:09.85+0530 [App/0] OUT at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163) [netty-all-4.0.23.Final.jar:4.0.23.Final]
2015-08-26T17:51:09.85+0530 [App/0] OUT at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) [netty-all-4.0.23.Final.jar:4.0.23.Final]
2015-08-26T17:51:09.85+0530 [App/0] OUT at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) [netty-all-4.0.23.Final.jar:4.0.23.Final]
2015-08-26T17:51:09.85+0530 [App/0] OUT at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787) [netty-all-4.0.23.Final.jar:4.0.23.Final]
2015-08-26T17:51:09.85+0530 [App/0] OUT at io.netty.channel.epoll.EpollSocketChannel$EpollSocketUnsafe.epollInReady(EpollSocketChannel.java:722) [netty-all-4.0.23.Final.jar:4.0.23.Final]
2015-08-26T17:51:09.85+0530 [App/0] OUT at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:326) [netty-all-4.0.23.Final.jar:4.0.23.Final]
2015-08-26T17:51:09.85+0530 [App/0] OUT at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:264) [netty-all-4.0.23.Final.jar:4.0.23.Final]
2015-08-26T17:51:09.85+0530 [App/0] OUT at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) [netty-all-4.0.23.Final.jar:4.0.23.Final]
2015-08-26T17:51:09.85+0530 [App/0] OUT at java.lang.Thread.run(Thread.java:745) [na:1.8.0_40-]
To unsubscribe from this group and stop receiving emails from it, send an email to java-driver-us...@lists.datastax.com.
var clusterBuilder = Cluster.builder()
.addContactPoint(CassandraNode)
.withPort(CassandraPort)
.withCredentials(CassandraUserName, CassandraPassword)
clusterBuilder = clusterBuilder
.withLoadBalancingPolicy(new WhiteListPolicy(
clusterBuilder.getConfiguration().getPolicies().getLoadBalancingPolicy(),
Arrays.asList(new InetSocketAddress(CassandraNode, CassandraPort))))val cluster = clusterBuilder.build()
val session = cluster.connect()KeySpace is created like this : CREATE KEYSPACE test WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 2 };
Schema is like this :Table1(a1,a2,a3,a4,a5)As this issue is caught while load testing cassandra, at this point of time i am not sure which query cause this error, will update the thread once i know the query
To unsubscribe from this group and stop receiving emails from it, send an email to java-driver-us...@lists.datastax.com.
com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (no host was tried)
i am getting this error also, while testing my app with cassandra,
Queries when i am getting this error is: Get/Delete
any idea why is this happening ?
To unsubscribe from this group and stop receiving emails from it, send an email to java-driver-us...@lists.datastax.com.