Cassandra
  1. Cassandra
  2. CASSANDRA-3114

After Choosing EC2Snitch you can't migrate off w/o a full cluster restart

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Once you choose the Ec2Snitch the gossip messages will trigger this exception if you try to move (for example) to the property file snitch:

      ERROR [pool-2-thread-11] 2011-08-30 16:38:06,935 Cassandra.java (line 3041) Internal error processing get_slice
      java.lang.NullPointerException
      at org.apache.cassandra.locator.Ec2Snitch.getDatacenter(Ec2Snitch.java:84)
      at org.apache.cassandra.locator.DynamicEndpointSnitch.getDatacenter(DynamicEndpointSnitch.java:122)
      at org.apache.cassandra.service.DatacenterReadCallback.assureSufficientLiveNodes(DatacenterReadCallback.java:77)
      at org.apache.cassandra.service.StorageProxy.fetchRows(StorageProxy.java:516)
      at org.apache.cassandra.service.StorageProxy.read(StorageProxy.java:480)
      at org.apache.cassandra.thrift.CassandraServer.readColumnFamily(CassandraServer.java:109)
      at org.apache.cassandra.thrift.CassandraServer.getSlice(CassandraServer.java:263)
      at org.apache.cassandra.thrift.CassandraServer.multigetSliceInternal(CassandraServer.java:345)
      at org.apache.cassandra.thrift.CassandraServer.get_slice(CassandraServer.java:306)
      at org.apache.cassandra.thrift.Cassandra$Processor$get_slice.process(Cassandra.java:3033)
      at org.apache.cassandra.thrift.Cassandra$Processor.process(Cassandra.java:2889)
      at org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:187)
      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:662)

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              Benjamin Coverston
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development