Hello Everyone!
I can connect to the CQL server from within the pod:
`kubectl exec -it cassandra-0 -- bash`
`I have no name!@cassandra-0: cqlsh -u <username> -p <password> `
Output:
[cqlsh 5.0.1 | Cassandra 3.11.6 | CQL spec 3.4.4 | Native protocol v4]
Use HELP for help.
I have also connected to the CQL from another pod, so the external connection definitely works.
But when I try to connect via my Janusgraph instance (version 0.5.1), from the gremlin console, I get the following time-out error:
`kubectl exec -it janusgraph-deployment-766b5f9899-h2kqt -- bin/gremlin.sh`
gremlin> graph = JanusGraphFactory.open('/etc/opt/janusgraph/janusgraph.properties')
Output:
com.datastax.driver.core.exceptions.OperationTimedOutException: [cassandra.cassandra.svc.cluster.local/
10.98.210.3:9042] Timed out waiting for server response
Below is the configuration in the janusgraph.properties file
gremlin.graph=org.janusgraph.core.JanusGraphFactory
storage.backend=cql
storage.directory=/var/lib/janusgraph/data
index.search.backend=lucene
index.search.directory=/var/lib/janusgraph/index
storage.username=<username>
storage.cql.keyspace=lucene
storage.password=<password>
index.search.directroy=/data/searchindex
storage.hostname=cassandra.cassandra.svc.cluster.local
I have also triied using the 'cassandra' service IP address in the `storage.hostname` field, but I get the same error.
I am using a simple lucene indexing back-end for now while I try to get the storage backend configured, but the idea is to eventually use elasticsearch with full SSL encryption. But I first want to get the storage backend configured.
Any ideas regarding the time-out error? I feel like i'm just missing something small,,,