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

ConcurrentModificationException in TokenMetadata.cloneOnlyTokenMap

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.2.11, 2.0.2
    • None
    • None
    • Low

    Description

      This isn't reproducible for me, but it happened to one of the servers in our cluster while starting up. It went away on a restart, but I figured it was worth filing anyway:

      ERROR [main] 2013-09-26 08:04:02,478 CassandraDaemon.java (line 464) Exception encountered during startup
      java.util.ConcurrentModificationException
      at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
      at java.util.HashMap$EntryIterator.next(HashMap.java:834)
      at java.util.HashMap$EntryIterator.next(HashMap.java:832)
      at com.google.common.collect.AbstractBiMap$EntrySet$1.next(AbstractBiMap.java:294)
      at com.google.common.collect.AbstractBiMap$EntrySet$1.next(AbstractBiMap.java:286)
      at com.google.common.collect.AbstractBiMap.putAll(AbstractBiMap.java:160)
      at com.google.common.collect.HashBiMap.putAll(HashBiMap.java:42)
      at com.google.common.collect.HashBiMap.create(HashBiMap.java:72)
      at org.apache.cassandra.locator.TokenMetadata.cloneOnlyTokenMap(TokenMetadata.java:561)
      at org.apache.cassandra.locator.AbstractReplicationStrategy.getAddressRanges(AbstractReplicationStrategy.java:192)
      at org.apache.cassandra.service.StorageService.calculatePendingRanges(StorageService.java:1711)
      at org.apache.cassandra.service.StorageService.calculatePendingRanges(StorageService.java:1692)
      at org.apache.cassandra.service.StorageService.handleStateNormal(StorageService.java:1461)
      at org.apache.cassandra.service.StorageService.onChange(StorageService.java:1228)
      at org.apache.cassandra.gms.Gossiper.doNotifications(Gossiper.java:949)
      at org.apache.cassandra.gms.Gossiper.addLocalApplicationState(Gossiper.java:1116)
      at org.apache.cassandra.service.StorageService.setTokens(StorageService.java:214)
      at org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:802)
      at org.apache.cassandra.service.StorageService.initServer(StorageService.java:554)
      at org.apache.cassandra.service.StorageService.initServer(StorageService.java:451)

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mishail Mikhail Stepura Assign to me
            mikeschrag Mike Schrag
            Mikhail Stepura
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment