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

Gossiper failed with ArrayIndexOutOfBoundsException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.2.14, 2.0.5, 2.1 beta1
    • None
    • Low

    Description

      We have 30 nodes in one DC, 25 nodes in another. We are running 2.0.1.

      Two nodes are joining the ring, but one of them failed with ArrayIndexOutOfBoundsException:

      java.lang.ArrayIndexOutOfBoundsException: 2
              at org.apache.cassandra.service.StorageService.extractExpireTime(StorageService.java:1594)
              at org.apache.cassandra.service.StorageService.handleStateRemoving(StorageService.java:1550)
              at org.apache.cassandra.service.StorageService.onChange(StorageService.java:1174)
              at org.apache.cassandra.service.StorageService.onJoin(StorageService.java:1887)
              at org.apache.cassandra.gms.Gossiper.handleMajorStateChange(Gossiper.java:844)
              at org.apache.cassandra.gms.Gossiper.applyStateLocally(Gossiper.java:922)
              at org.apache.cassandra.gms.GossipDigestAck2VerbHandler.doVerb(GossipDigestAck2VerbHandler.java:49)
              at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:56)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at java.lang.Thread.run(Thread.java:744)
      

      Attachments

        1. 6564-v1.patch
          3 kB
          Tom Hobbs

        Issue Links

          Activity

            People

              thobbs Tom Hobbs
              shaochuan Shao-Chuan Wang
              Tom Hobbs
              Brandon Williams
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: