Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-1649

Queries on system keyspace over thrift api all fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.7 beta 3
    • Legacy/CQL
    • None
    • Debian Squeeze, cassandra svn HEAD (r1026380)

    • Low

    Description

      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:

      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)
      

      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.

      Attachments

        1. 1649-system-test.txt
          0.8 kB
          paul cannon
        2. 1649.txt
          23 kB
          Jonathan Ellis

        Activity

          People

            jbellis Jonathan Ellis
            thepaul paul cannon
            Jonathan Ellis
            paul cannon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: