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

node cannot join into cluster while handshaking with seed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Cannot Reproduce
    • None
    • None
    • None
    • Normal

    Description

      When a node tries to join in to a cluster by talking to the seed, I got the following error on system.log in the seed.

      java.lang.AssertionError: -1010673279660824450 not found in 
      	at org.apache.cassandra.locator.TokenMetadata.getPredecessor(TokenMetadata.java:683) ~[apache-cassandra-2.1.8.jar:2.1.8]
      	at org.apache.cassandra.locator.TokenMetadata.getPrimaryRangesFor(TokenMetadata.java:627) ~[apache-cassandra-2.1.8.jar:2.1.8]
      	at org.apache.cassandra.db.SizeEstimatesRecorder.run(SizeEstimatesRecorder.java:68) ~[apache-cassandra-2.1.8.jar:2.1.8]
      	at org.apache.cassandra.concurrent.DebuggableScheduledThreadPoolExecutor$UncomplainingRunnable.run(DebuggableScheduledThreadPoolExecutor.java:118) ~[apache-cassandra-2.1.8.jar:2.1.8]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_51]
      	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [na:1.8.0_51]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_51]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [na:1.8.0_51]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_51]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_51]
      	at java.lang.Thread.run(Thread.java:745) [na:1.8.0_51]
      

      seed's yaml:

      listen_address: 10.0.0.94
      broadcast_address: 52.28.10.78
      rpc_address: 0.0.0.0
      broadcast_rpc_address: 52.28.10.78
      seed_provider:
          - class_name: org.apache.cassandra.locator.SimpleSeedProvider
            parameters:
                - seeds: "52.28.10.78"
      

      node's yaml:

      listen_address: 10.0.0.95
      broadcast_address: 52.28.59.43
      rpc_address: 0.0.0.0
      broadcast_rpc_address: 52.28.59.43
      seed_provider:
          - class_name: org.apache.cassandra.locator.SimpleSeedProvider
            parameters:
                - seeds: "52.28.10.78"
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            mulderbaba Mert Caliskan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: