You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2010/10/23 14:49:23 UTC

[jira] Commented: (CASSANDRA-1649) Queries on system keyspace over thrift api all fail

    [ https://issues.apache.org/jira/browse/CASSANDRA-1649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12924190#action_12924190 ] 

Hudson commented on CASSANDRA-1649:
-----------------------------------

Integrated in Cassandra #574 (See [https://hudson.apache.org/hudson/job/Cassandra/574/])
    move strategy creation into Table instantiation so it can't be out of sync
patch by jbellis; tested by Paul Cannon for CASSANDRA-1649


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