cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Dusbabek (JIRA)" <>
Subject [jira] Commented: (CASSANDRA-1111) describe_ring() throws on single node clusters and/or probably clusters without a replication factor
Date Fri, 21 May 2010 16:27:20 GMT


Gary Dusbabek commented on CASSANDRA-1111:

I'm having difficulty reproducing this problem in branches/cassandra-0.6.  What I comment
out <ReplicaPlacementStrategy>, I get the following error on startup:

ERROR 11:26:08,593 Fatal error: Missing replicaplacementstrategy directive for Keyspace1
Bad configuration; unable to start server

I get a similar error when I configure a replicaplacementstrategy, but leave the replicationfactor

Is it possible to work up a short test that duplicates this problem?

> describe_ring() throws on single node clusters and/or probably clusters without a replication
> ----------------------------------------------------------------------------------------------------
>                 Key: CASSANDRA-1111
>                 URL:
>             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 (line 259) Error
occurred during processing of message.
> java.lang.RuntimeException: No replica strategy configured for L1AbuseReports
>         at org.apache.cassandra.service.StorageService.getReplicationStrategy(
>         at org.apache.cassandra.service.StorageService.constructRangeToEndPointMap(
>         at org.apache.cassandra.service.StorageService.getRangeToAddressMap(
>         at org.apache.cassandra.service.StorageService.getRangeToEndPointMap(
>         at org.apache.cassandra.thrift.CassandraServer.describe_ring(
>         at org.apache.cassandra.thrift.Cassandra$Processor$describe_ring.process(
>         at org.apache.cassandra.thrift.Cassandra$Processor.process(
>         at org.apache.thrift.server.TThreadPoolServer$
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
>         at java.util.concurrent.ThreadPoolExecutor$
>         at

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

View raw message