TimedOutException


Gwiz <feed...@...>
 

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 <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


Annu Sharma <annu...@...>
 

Hi, 

Have you been able to resolve this issue?


On Friday, April 28, 2017 at 8:23:30 AM UTC-7, 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


Ankur Goel <ankur...@...>
 

check if thrift is enable, in 2.2 or above use below command:

./bin/nodetool enablethrift

~AnkurG
 


On Friday, April 28, 2017 at 8:53:30 PM UTC+5:30, 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


Annu Sharma <annu...@...>
 

Hi Ankur,

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


On Mon, Sep 11, 2017 at 10:26 PM Ankur Goel <ankur...@...> wrote:
check if thrift is enable, in 2.2 or above use below command:

./bin/nodetool enablethrift

~AnkurG
 

On Friday, April 28, 2017 at 8:53:30 PM UTC+5:30, 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

--
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 janusgra...@....
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 <annu...@...>
 

Yaml*


On Tue, Sep 12, 2017 at 8:37 AM Annu Sharma <annu...@...> wrote:
Hi Ankur,

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

On Mon, Sep 11, 2017 at 10:26 PM Ankur Goel <ankur...@...> wrote:
check if thrift is enable, in 2.2 or above use below command:

./bin/nodetool enablethrift

~AnkurG
 

On Friday, April 28, 2017 at 8:53:30 PM UTC+5:30, 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

--
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 janusgra...@....
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 | Masters Student
College of Engineering | Computer Science