cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "murali (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-8282) org.apache.cassandra.exceptions.ReadTimeoutException: Operation timed out while selecting query
Date Mon, 10 Nov 2014 10:36:33 GMT
murali created CASSANDRA-8282:
---------------------------------

             Summary: org.apache.cassandra.exceptions.ReadTimeoutException: Operation timed
out while selecting query
                 Key: CASSANDRA-8282
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8282
             Project: Cassandra
          Issue Type: Bug
         Environment: Ubuntu 12
AWS network
[cqlsh 5.0.1 | Cassandra 2.1.0 | CQL spec 3.2.0 | Native protocol v3]  

4 cores and 15GB ram with 6 nodes.

            Reporter: murali
             Fix For: 2.1.0


Hi there,

We are getting below error when we ran select count(*) from demo.songs on CQLSH ( [cqlsh 5.0.1
| Cassandra 2.1.0 | CQL spec 3.2.0 | Native protocol v3] ) and we are on AWS m3.large instances
with 6 nodes in single DC.

ERROR [Thrift:15] 2014-11-10 09:27:52,613 CustomTThreadPoolServer.java:219 - Error occurred
during processing of message.
com.google.common.util.concurrent.UncheckedExecutionException: java.lang.RuntimeException:
org.apache.cassandra.exceptions.ReadTimeoutException: Operation timed out - received only
0 responses.
        at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2201) ~[guava-16.0.jar:na]
        at com.google.common.cache.LocalCache.get(LocalCache.java:3934) ~[guava-16.0.jar:na]
        at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3938) ~[guava-16.0.jar:na]
        at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821)
~[guava-16.0.jar:na]
        at org.apache.cassandra.service.ClientState.authorize(ClientState.java:353) ~[apache-cassandra-2.1.0.jar:2.1.0]
        at org.apache.cassandra.service.ClientState.ensureHasPermission(ClientState.java:225)
~[apache-cassandra-2.1.0.jar:2.1.0]
        at org.apache.cassandra.service.ClientState.hasAccess(ClientState.java:219) ~[apache-cassandra-2.1.0.jar:2.1.0]
        at org.apache.cassandra.service.ClientState.hasColumnFamilyAccess(ClientState.java:203)
~[apache-cassandra-2.1.0.jar:2.1.0]
        at org.apache.cassandra.thrift.CassandraServer.multiget_slice(CassandraServer.java:370)
~[apache-cassandra-2.1.0.jar:2.1.0]
        at org.apache.cassandra.thrift.Cassandra$Processor$multiget_slice.getResult(Cassandra.java:3716)
~[apache-cassandra-thrift-2.1.0.jar:2.1.0]
        at org.apache.cassandra.thrift.Cassandra$Processor$multiget_slice.getResult(Cassandra.java:3700)
~[apache-cassandra-thrift-2.1.0.jar:2.1.0]
        at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) ~[libthrift-0.9.1.jar:0.9.1]
        at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) ~[libthrift-0.9.1.jar:0.9.1]
        at org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:201)
~[apache-cassandra-2.1.0.jar:2.1.0]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[na:1.7.0_51]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[na:1.7.0_51]
        at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51]
Caused by: java.lang.RuntimeException: org.apache.cassandra.exceptions.ReadTimeoutException:
Operation timed out - received only 0 responses.
        at org.apache.cassandra.auth.Auth.selectUser(Auth.java:271) ~[apache-cassandra-2.1.0.jar:2.1.0]
        at org.apache.cassandra.auth.Auth.isSuperuser(Auth.java:88) ~[apache-cassandra-2.1.0.jar:2.1.0]
        at org.apache.cassandra.auth.AuthenticatedUser.isSuper(AuthenticatedUser.java:50)
~[apache-cassandra-2.1.0.jar:2.1.0]
        at org.apache.cassandra.auth.CassandraAuthorizer.authorize(CassandraAuthorizer.java:67)
~[apache-cassandra-2.1.0.jar:2.1.0]
        at org.apache.cassandra.service.ClientState$1.load(ClientState.java:339) ~[apache-cassandra-2.1.0.jar:2.1.0]
        at org.apache.cassandra.service.ClientState$1.load(ClientState.java:336) ~[apache-cassandra-2.1.0.jar:2.1.0]
        at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3524)
~[guava-16.0.jar:na]
        at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2317) ~[guava-16.0.jar:na]
        at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2280)
~[guava-16.0.jar:na]
        at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2195) ~[guava-16.0.jar:na]
        ... 16 common frames omitted
Caused by: org.apache.cassandra.exceptions.ReadTimeoutException: Operation timed out - received
only 0 responses.
        at org.apache.cassandra.service.ReadCallback.get(ReadCallback.java:103) ~[apache-cassandra-2.1.0.jar:2.1.0]
        at org.apache.cassandra.service.AbstractReadExecutor.get(AbstractReadExecutor.java:144)
~[apache-cassandra-2.1.0.jar:2.1.0]
        at org.apache.cassandra.service.StorageProxy.fetchRows(StorageProxy.java:1226) ~[apache-cassandra-2.1.0.jar:2.1.0]
        at org.apache.cassandra.service.StorageProxy.read(StorageProxy.java:1153) ~[apache-cassandra-2.1.0.jar:2.1.0]
        at org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:255)
~[apache-cassandra-2.1.0.jar:2.1.0]
        at org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:211)
~[apache-cassandra-2.1.0.jar:2.1.0]
        at org.apache.cassandra.auth.Auth.selectUser(Auth.java:260) ~[apache-cassandra-2.1.0.jar:2.1.0]
        ... 25 common frames omitted






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message