Re: Janus not able to connect to cassandra

Florian Hockmann <f...@...>

Not sure if that can cause your problem but you need to configure storage.cql.keyspace instead of storage.cassandra.keyspace if you're using CQL and the same applies to the consistency levels.

Am Donnerstag, 26. September 2019 20:35:44 UTC+2 schrieb Bharat Dighe:

Didnt help.

Could this be a driver 3.7.1 compatibility issue with cassandra 3.11.3?


On Wednesday, September 25, 2019 at 7:28:57 PM UTC-7, akhilesh singh wrote:
Can you disable thrift on Cassandra and then try

On Thu 26 Sep, 2019, 4:28 AM Bharat Dighe, <b...@...> wrote:
I am using cql driver.

I am getting below  while opening connection. The C* is running on the localhost and listening on port 9042.
Cassandra version is 3.11.3

Connection Parameters:

>>netstat -an|grep 9042
tcp        0      0      *                   LISTEN

It works fine when I use thrift driver.

What I am missing? Following is the exception

java.lang.IllegalArgumentException: Could not instantiate implementation: org.janusgraph.diskstorage.cql.CQLStoreManager
        at org.janusgraph.util.system.ConfigurationUtil.instantiate( ~[janusgraph-core-0.4.0.jar:?]
        at org.janusgraph.diskstorage.Backend.getImplementationClass( ~[janusgraph-core-0.4.0.jar:?]
        at org.janusgraph.diskstorage.Backend.getStorageManager( ~[janusgraph-core-0.4.0.jar:?]
        at ~[janusgraph-core-0.4.0.jar:?]
        at ~[janusgraph-core-0.4.0.jar:?]
        at ~[janusgraph-core-0.4.0.jar:?]
        at ~[janusgraph-core-0.4.0.jar:?]
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source) ~[?:?]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance( ~[?:1.8.0_222]
        at java.lang.reflect.Constructor.newInstance( ~[?:1.8.0_222]
        at org.janusgraph.util.system.ConfigurationUtil.instantiate( ~[janusgraph-core-0.4.0.jar:?]
        ... 11 more
Caused by: com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: localhost/ (com.datastax.driver.core.exceptions.TransportException: [localhost/] Connection has been closed))
        at com.datastax.driver.core.ControlConnection.reconnectInternal( ~[cassandra-driver-core-3.7.1.jar:?]
        at com.datastax.driver.core.ControlConnection.connect( ~[cassandra-driver-core-3.7.1.jar:?]
        at com.datastax.driver.core.Cluster$Manager.negotiateProtocolVersionAndConnect( ~[cassandra-driver-core-3.7.1.jar:?]
        at com.datastax.driver.core.Cluster$Manager.init( ~[cassandra-driver-core-3.7.1.jar:?]
        at com.datastax.driver.core.Cluster.init( ~[cassandra-driver-core-3.7.1.jar:?]

You received this message because you are subscribed to the Google Groups "JanusGraph users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to janu...@....
To view this discussion on the web visit

Join to automatically receive all group messages.