Error on localhost/127.0.0.1:9042 connection, no more host to try

177 views
Skip to first unread message

Yeshwanth Kumar

unread,
Jul 19, 2017, 12:12:57 PM7/19/17
to DataStax Java Driver for Apache Cassandra User Mailing List

I am trying to using java datastax driver on a simple local cassandra setup. I did test the host and port with cqlsh. Not sure what is causing this error. Something to do with netty?


17:08:59.918 [scala-execution-context-global-43] DEBUG com.datastax.driver.core.Cluster - Starting new cluster with contact points [localhost/127.0.0.1:9042]
17:08:59.942 [scala-execution-context-global-43] DEBUG io.netty.util.internal.logging.InternalLoggerFactory - Using SLF4J as the default logging framework
17:08:59.957 [scala-execution-context-global-43] DEBUG io.netty.util.internal.PlatformDependent0 - java.nio.Buffer.address: available
17:08:59.957 [scala-execution-context-global-43] DEBUG io.netty.util.internal.PlatformDependent0 - sun.misc.Unsafe.theUnsafe: available
17:08:59.957 [scala-execution-context-global-43] DEBUG io.netty.util.internal.PlatformDependent0 - sun.misc.Unsafe.copyMemory: available
17:08:59.958 [scala-execution-context-global-43] DEBUG io.netty.util.internal.PlatformDependent0 - java.nio.Bits.unaligned: true
17:08:59.958 [scala-execution-context-global-43] DEBUG io.netty.util.internal.PlatformDependent0 - java.nio.DirectByteBuffer.<init>(long, int): available
17:08:59.960 [scala-execution-context-global-43] DEBUG io.netty.util.internal.PlatformDependent - Java version: 8
17:08:59.961 [scala-execution-context-global-43] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.noUnsafe: false
17:08:59.961 [scala-execution-context-global-43] DEBUG io.netty.util.internal.PlatformDependent - sun.misc.Unsafe: available
17:08:59.961 [scala-execution-context-global-43] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.noJavassist: false
17:09:00.041 [scala-execution-context-global-43] DEBUG io.netty.util.internal.PlatformDependent - Javassist: available
17:09:00.041 [scala-execution-context-global-43] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.tmpdir: /tmp (java.io.tmpdir)
17:09:00.041 [scala-execution-context-global-43] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.bitMode: 64 (sun.arch.data.model)
17:09:00.041 [scala-execution-context-global-43] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.noPreferDirect: false
17:09:00.041 [scala-execution-context-global-43] DEBUG io.netty.util.internal.PlatformDependent - io.netty.maxDirectMemory: 1029177344 bytes
17:09:00.052 [scala-execution-context-global-43] DEBUG com.datastax.driver.core.SystemProperties - com.datastax.driver.FORCE_NIO is undefined, using default value false
17:09:00.053 [scala-execution-context-global-43] INFO com.datastax.driver.core.NettyUtil - Did not find Netty's native epoll transport in the classpath, defaulting to NIO.
17:09:00.057 [scala-execution-context-global-43] DEBUG io.netty.channel.MultithreadEventLoopGroup - -Dio.netty.eventLoopThreads: 12
17:09:00.065 [scala-execution-context-global-43] DEBUG io.netty.channel.nio.NioEventLoop - -Dio.netty.noKeySetOptimization: false
17:09:00.065 [scala-execution-context-global-43] DEBUG io.netty.channel.nio.NioEventLoop - -Dio.netty.selectorAutoRebuildThreshold: 512
17:09:00.080 [scala-execution-context-global-43] DEBUG io.netty.util.ResourceLeakDetector - -Dio.netty.leakDetection.level: simple
17:09:00.080 [scala-execution-context-global-43] DEBUG io.netty.util.ResourceLeakDetector - -Dio.netty.leakDetection.maxRecords: 4
17:09:00.085 [scala-execution-context-global-43] DEBUG com.datastax.driver.core.SystemProperties - com.datastax.driver.EXTENDED_PEER_CHECK is undefined, using default value true
17:09:00.181 [scala-execution-context-global-43] DEBUG com.datastax.driver.core.Host.STATES - [localhost/127.0.0.1:9042] preparing to open 1 new connections, total = 1
17:09:00.183 [scala-execution-context-global-43] DEBUG com.datastax.driver.core.SystemProperties - com.datastax.driver.DISABLE_COALESCING is undefined, using default value false
17:09:00.191 [scala-execution-context-global-43] DEBUG io.netty.util.internal.JavassistTypeParameterMatcherGenerator - Generated: io.netty.util.internal.__matchers__.com.datastax.driver.core.Message$ResponseMatcher
17:09:00.212 [scala-execution-context-global-43] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.numHeapArenas: 9
17:09:00.212 [scala-execution-context-global-43] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.numDirectArenas: 10
17:09:00.212 [scala-execution-context-global-43] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.pageSize: 8192
17:09:00.212 [scala-execution-context-global-43] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.maxOrder: 11
17:09:00.212 [scala-execution-context-global-43] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.chunkSize: 16777216
17:09:00.212 [scala-execution-context-global-43] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.tinyCacheSize: 512
17:09:00.212 [scala-execution-context-global-43] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.smallCacheSize: 256
17:09:00.213 [scala-execution-context-global-43] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.normalCacheSize: 64
17:09:00.213 [scala-execution-context-global-43] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.maxCachedBufferCapacity: 32768
17:09:00.213 [scala-execution-context-global-43] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.cacheTrimInterval: 8192
17:09:00.232 [scala-execution-context-global-43] DEBUG io.netty.util.internal.JavassistTypeParameterMatcherGenerator - Generated: io.netty.util.internal.__matchers__.com.datastax.driver.core.FrameMatcher
17:09:00.237 [scala-execution-context-global-43] DEBUG io.netty.util.internal.JavassistTypeParameterMatcherGenerator - Generated: io.netty.util.internal.__matchers__.com.datastax.driver.core.Message$RequestMatcher
17:09:00.251 [scala-execution-context-global-43] DEBUG io.netty.util.internal.ThreadLocalRandom - -Dio.netty.initialSeedUniquifier: 0x4f4480c983a53014 (took 0 ms)
17:09:00.279 [scala-execution-context-global-43] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.allocator.type: unpooled
17:09:00.279 [scala-execution-context-global-43] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.threadLocalDirectBufferSize: 65536
17:09:00.279 [scala-execution-context-global-43] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.maxThreadLocalCharBufferSize: 16384
17:09:00.320 [scala-execution-context-global-43] DEBUG com.datastax.driver.core.ControlConnection - [Control connection] error on localhost/127.0.0.1:9042 connection, no more host to try
com.datastax.driver.core.exceptions.DriverException: Connection thread interrupted
at com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:229)



Reply all
Reply to author
Forward
0 new messages