Re: TimedOutException


Jason Plurad <plu...@...>
 

cqlsh communicates using CQL interface, but JanusGraph uses Thrift. I'd suggest double checking that the RPC settings (rpc_address, rpc_port) in cassandra.yaml match what you have in cassandra-es.properties. If you're using rpc_interface rather than rpc_address in cassandra.yaml, verify the listening address and port with ss.

-- Jason


On Friday, April 28, 2017 at 11:23:30 AM UTC-4, Gwiz wrote:
When I try to open a graph, I am constantly getting the TimeOutExceptions.  My Cassandra Cluster is fine and I was able to use cqlsh with no issues. Are there any Thrift settings that need to be adjusted?

graph = JanusGraphFactory.open('cassandra-es.properties')

Caused by: TimedOutException()
        at org
.apache.cassandra.thrift.Cassandra$multiget_slice_result$multiget_slice_resultStandardScheme.read(Cassandra.java:14696)
        at org
.apache.cassandra.thrift.Cassandra$multiget_slice_result$multiget_slice_resultStandardScheme.read(Cassandra.java:14633)
        at org
.apache.cassandra.thrift.Cassandra$multiget_slice_result.read(Cassandra.java:14559)
        at org
.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)
        at org
.apache.cassandra.thrift.Cassandra$Client.recv_multiget_slice(Cassandra.java:741)
        at org
.apache.cassandra.thrift.Cassandra$Client.multiget_slice(Cassandra.java:725)
        at org
.janusgraph.diskstorage.cassandra.thrift.CassandraThriftKeyColumnValueStore.getNamesSlice(CassandraThriftKeyColumnValueStore.java:143)
       
... 44 more


If I try few times, I succeed once randomly. 

Thanks

Join janusgraph-users@lists.lfaidata.foundation to automatically receive all group messages.