TimedOutException

141 views
Skip to first unread message

Gwiz

unread,
Apr 28, 2017, 11:23:30 AM4/28/17
to JanusGraph users list
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

Jason Plurad

unread,
May 2, 2017, 11:32:32 AM5/2/17
to JanusGraph users list
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

Annu Sharma

unread,
Sep 11, 2017, 5:42:03 PM9/11/17
to JanusGraph users
Hi, 

Have you been able to resolve this issue?

Ankur Goel

unread,
Sep 12, 2017, 1:26:53 AM9/12/17
to JanusGraph users
check if thrift is enable, in 2.2 or above use below command:

./bin/nodetool enablethrift

~AnkurG

Annu Sharma

unread,
Sep 12, 2017, 11:38:08 AM9/12/17
to Ankur Goel, JanusGraph users
Hi Ankur,

Yes thrift is enabled in the Cassandra config yams. I get this error only intermittently. 

--
You received this message because you are subscribed to a topic in the Google Groups "JanusGraph users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/janusgraph-users/Y20K6xjDFEk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to janusgraph-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/janusgraph-users/5efc212f-2546-4f21-8604-c43e5018394f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--

Annu Sharma | Masters Student
College of Engineering | Computer Science 

Annu Sharma

unread,
Sep 12, 2017, 11:38:39 AM9/12/17
to Ankur Goel, JanusGraph users
Yaml*
Reply all
Reply to author
Forward
0 new messages