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

Bad first start leaves node in invalid state.

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: Duplicate
    • None
    • None
    • None
    • Low

    Description

      If bootstrap startup fails with "Unable to gossip with any seeds"

      ERROR [main] 2016-05-16 20:58:34,747 CassandraDaemon.java:692 - Exception encountered during startup
      java.lang.RuntimeException: Unable to gossip with any seeds
      	at org.apache.cassandra.gms.Gossiper.doShadowRound(Gossiper.java:1354) ~[main/:na]
      	at org.apache.cassandra.service.StorageService.checkForEndpointCollision(StorageService.java:563) ~[main/:na]
      	at org.apache.cassandra.service.StorageService.prepareToJoin(StorageService.java:822) ~[main/:na]
      	at org.apache.cassandra.service.StorageService.initServer(StorageService.java:740) ~[main/:na]
      	at org.apache.cassandra.service.StorageService.initServer(StorageService.java:620) ~[main/:na]
      	at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:333) [main/:na]
      	at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:551) [main/:na]
      	at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:679) [main/:na]
      

      If you start the node again once the seed is up it will fail with a "Found system keyspace files, but they couldn't be loaded!" exception.

      ERROR [main] 2016-05-16 20:59:17,285 CassandraDaemon.java:692 - Fatal exception during initialization
      org.apache.cassandra.exceptions.ConfigurationException: Found system keyspace files, but they couldn't be loaded!
      	at org.apache.cassandra.db.SystemKeyspace.checkHealth(SystemKeyspace.java:906) ~[main/:na]
      	at org.apache.cassandra.service.StartupChecks$8.execute(StartupChecks.java:304) ~[main/:na]
      	at org.apache.cassandra.service.StartupChecks.verify(StartupChecks.java:107) ~[main/:na]
      	at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:169) [main/:na]
      	at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:551) [main/:na]
      	at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:679) [main/:na]
      

      You have to completely wipe everything to try again. Its not the end of the world, but it is different than in Cassandra 2.1 where you could just start the node again to retry the bootstrap.

      Attachments

        Issue Links

        Activity

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

          People

            Unassigned Unassigned Assign to me
            jjordan Jeremiah Jordan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment