cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "paul cannon (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CASSANDRA-1649) Queries on system keyspace over thrift api all fail
Date Fri, 22 Oct 2010 20:56:24 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-1649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

paul cannon updated CASSANDRA-1649:
-----------------------------------

    Attachment: 1649-system-test.txt

An addition to test/system/test_thrift_server.py which makes sure queries to the system keyspace
can be made

> Queries on system keyspace over thrift api all fail
> ---------------------------------------------------
>
>                 Key: CASSANDRA-1649
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1649
>             Project: Cassandra
>          Issue Type: Bug
>          Components: API
>    Affects Versions: 0.7.0
>         Environment: Debian Squeeze, cassandra svn HEAD (r1026380)
>            Reporter: paul cannon
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 0.7.0
>
>         Attachments: 1649-system-test.txt, 1649.txt
>
>
> as far as I can tell, any calls to get, get_slice, get_range_slices, get_count, etc on
any ColumnFamily in the "system" keyspace results in an error like the following:
> {noformat}
> ERROR 16:29:41,278 Internal error processing get
> java.lang.AssertionError: No replica strategy configured for system
>         at org.apache.cassandra.service.StorageService.getReplicationStrategy(StorageService.java:315)
>         at org.apache.cassandra.service.StorageService.getNaturalEndpoints(StorageService.java:1459)
>         at org.apache.cassandra.service.StorageService.getNaturalEndpoints(StorageService.java:1447)
>         at org.apache.cassandra.service.StorageService.findSuitableEndpoint(StorageService.java:1493)
>         at org.apache.cassandra.service.StorageProxy.weakRead(StorageProxy.java:245)
>         at org.apache.cassandra.service.StorageProxy.readProtocol(StorageProxy.java:224)
>         at org.apache.cassandra.thrift.CassandraServer.readColumnFamily(CassandraServer.java:131)

>         at org.apache.cassandra.thrift.CassandraServer.get(CassandraServer.java:324)
>         at org.apache.cassandra.thrift.Cassandra$Processor$get.process(Cassandra.java:2655)
>         at org.apache.cassandra.thrift.Cassandra$Processor.process(Cassandra.java:2555)
>         at org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:167)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:636)
> {noformat}
> Might be only when this is done over the thrift api.  I don't even know how to use the
avro api or query in any other way.  But at least this sort of thing used to work around a
week ago.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message