cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CASSANDRA-1111) describe_ring() throws on single node clusters and/or probably clusters without a replication factor
Date Thu, 20 May 2010 14:26:54 GMT

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

Jonathan Ellis updated CASSANDRA-1111:
--------------------------------------

             Assignee: Gary Dusbabek
        Fix Version/s: 0.6.2
    Affects Version/s: 0.6
                           (was: 0.6.1)

> describe_ring() throws on single node clusters and/or probably clusters without a replication
factor
> ----------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-1111
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1111
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.6
>         Environment: Mac OS X Snow Leopard
>            Reporter: Dominic Williams
>            Assignee: Gary Dusbabek
>             Fix For: 0.6.2
>
>   Original Estimate: 0.75h
>  Remaining Estimate: 0.75h
>
> You use Thrift to call describe_ring() on a cluster with only a single node. The Thrift
connection is broken, and the system.log shows the exception that has been thrown:
> ERROR [pool-1-thread-15] 2010-05-20 13:15:24,753 TThreadPoolServer.java (line 259) Error
occurred during processing of message.
> java.lang.RuntimeException: No replica strategy configured for L1AbuseReports
>         at org.apache.cassandra.service.StorageService.getReplicationStrategy(StorageService.java:246)
>         at org.apache.cassandra.service.StorageService.constructRangeToEndPointMap(StorageService.java:457)
>         at org.apache.cassandra.service.StorageService.getRangeToAddressMap(StorageService.java:443)
>         at org.apache.cassandra.service.StorageService.getRangeToEndPointMap(StorageService.java:433)
>         at org.apache.cassandra.thrift.CassandraServer.describe_ring(CassandraServer.java:628)
>         at org.apache.cassandra.thrift.Cassandra$Processor$describe_ring.process(Cassandra.java:1781)
>         at org.apache.cassandra.thrift.Cassandra$Processor.process(Cassandra.java:1125)
>         at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:253)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:637)

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