cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Ancona <...@anconafamily.com>
Subject Internal error when using SimpleSnitch and dynamic_snitch: true
Date Mon, 17 Jan 2011 17:29:27 GMT
We accidently configured our cluster with SimpleSnitch (instead of
PropertyFileSnitch) and dynamic_snitch: true. This is with version
0.7.0.

We saw the errors below on get_slice and batch_mutate calls. The
errors went away when we switched to PropertyFileSnitch.

Should dynamic_snitch work with SimpleSnitch? Should I open a Jira issue?

Jim

ERROR [pool-1-thread-55] 2011-01-14 15:53:45,998 Cassandra.java (line
2707) Internal error processing get_slice
java.lang.UnsupportedOperationException
        at org.apache.cassandra.locator.SimpleSnitch.getDatacenter(SimpleSnitch.java:40)
        at org.apache.cassandra.locator.DynamicEndpointSnitch.getDatacenter(DynamicEndpointSnitch.java:94)
        at org.apache.cassandra.locator.NetworkTopologyStrategy.calculateNaturalEndpoints(NetworkTopologyStrategy.java:87)
        at org.apache.cassandra.locator.AbstractReplicationStrategy.getNaturalEndpoints(AbstractReplicationStrategy.java:99)
        at org.apache.cassandra.service.StorageService.getNaturalEndpoints(StorageService.java:1354)
        at org.apache.cassandra.service.StorageService.getNaturalEndpoints(StorageService.java:1337)
        at org.apache.cassandra.service.StorageService.findSuitableEndpoint(StorageService.java:1388)
        at org.apache.cassandra.service.StorageProxy.weakRead(StorageProxy.java:248)
        at org.apache.cassandra.service.StorageProxy.readProtocol(StorageProxy.java:224)
        at org.apache.cassandra.thrift.CassandraServer.readColumnFamily(CassandraServer.java:98)
        at org.apache.cassandra.thrift.CassandraServer.getSlice(CassandraServer.java:195)
        at org.apache.cassandra.thrift.CassandraServer.multigetSliceInternal(CassandraServer.java:271)
        at org.apache.cassandra.thrift.CassandraServer.get_slice(CassandraServer.java:233)
        at org.apache.cassandra.thrift.Cassandra$Processor$get_slice.process(Cassandra.java:2699)
        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)

ERROR [pool-1-thread-58] 2011-01-12 12:18:58,721 Cassandra.java (line
3044) Internal error processing batch_mutate
java.lang.UnsupportedOperationException
        at org.apache.cassandra.locator.SimpleSnitch.getDatacenter(SimpleSnitch.java:40)
        at org.apache.cassandra.locator.DynamicEndpointSnitch.getDatacenter(DynamicEndpointSnitch.java:94)
        at org.apache.cassandra.locator.NetworkTopologyStrategy.calculateNaturalEndpoints(NetworkTopologyStrategy.java:87)
        at org.apache.cassandra.locator.AbstractReplicationStrategy.getNaturalEndpoints(AbstractReplicationStrategy.java:99)
        at org.apache.cassandra.service.StorageService.getNaturalEndpoints(StorageService.java:1354)
        at org.apache.cassandra.service.StorageService.getNaturalEndpoints(StorageService.java:1337)
        at org.apache.cassandra.service.StorageProxy.mutate(StorageProxy.java:109)
        at org.apache.cassandra.thrift.CassandraServer.doInsert(CassandraServer.java:412)
        at org.apache.cassandra.thrift.CassandraServer.batch_mutate(CassandraServer.java:385)
        at org.apache.cassandra.thrift.Cassandra$Processor$batch_mutate.process(Cassandra.java:3036)
        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)

Mime
View raw message