Grakn tries to connect to cassandra over thrift


I get the following

I have an external cassandra setup running on kubernetes and exposed at cassandra.default.svc.cluster . However grakn fails to connect with the following error

Caused by: java.lang.reflect.InvocationTargetException: null
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
	at java.lang.reflect.Constructor.newInstance(
	at com.thinkaurelius.titan.util.system.ConfigurationUtil.instantiate(
	... 39 common frames omitted
Caused by: com.thinkaurelius.titan.diskstorage.TemporaryBackendException: Temporary failure in storage backend
	at com.thinkaurelius.titan.diskstorage.cassandra.astyanax.AstyanaxStoreManager.ensureKeyspaceExists(
	at com.thinkaurelius.titan.diskstorage.cassandra.astyanax.AstyanaxStoreManager.<init>(
	... 44 common frames omitted
Caused by: PoolTimeoutException: [host=cassandra.default.svc.cluster.local(, latency=10000(10000), attempts=1]Timed out waiting for connection


Hi @jonathan-kosgei,

Grakn needs to be able to connect to all nodes in a Cassandra cluster. Could you check that you have connectivity from the Grakn server to all Cassandra nodes?
Please also make sure you are running Cassandra 2.1.x (2.1.17 preferable) which has the thrift interface enabled by default.

If that doesn’t resolve the issue, can you give more detail on how your Grakn and Cassandra cluster are set up? If possible, please provide us with the configuration files for both.