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

PagingTest failure on trunk

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Duplicate
    • 4.0-alpha1, 4.0
    • Test/unit
    • None
    • Correctness - Test Failure
    • Normal
    • Normal
    • Unit Test
    • All
    • None
    • Hide

      NA

      Show
      NA

    Description

      Example failure

      java.lang.RuntimeException: Unable to gossip with any peers
      	at org.apache.cassandra.gms.Gossiper.doShadowRound(Gossiper.java:1546)
      	at org.apache.cassandra.service.StorageService.checkForEndpointCollision(StorageService.java:553)
      	at org.apache.cassandra.service.StorageService.prepareToJoin(StorageService.java:841)
      	at org.apache.cassandra.service.StorageService.initServer(StorageService.java:699)
      	at org.apache.cassandra.service.StorageService.initServer(StorageService.java:650)
      	at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:379)
      	at org.apache.cassandra.service.CassandraDaemon.init(CassandraDaemon.java:501)
      	at org.apache.cassandra.service.EmbeddedCassandraService.start(EmbeddedCassandraService.java:50)
      	at org.apache.cassandra.cql3.PagingTest.setup(PagingTest.java:63)
      

      Running the test case by itself won't reproduce the issue:

      ant test -Dtest.name=PagingTest
      

      But running it in parallel with other tests will:

      ant test -Dtest.name=cql3/*
      

      From the logs the following can be observed:

      INFO  [main] 2019-04-11 15:32:29,916 Node configuration:[...seed_provider=org.apache.cassandra.locator.SimpleSeedProvider{seeds=127.0.0.1:7017}; storage_port=7027]
      
      ...
      
      DEBUG [main] 2019-04-17 10:11:55,418 connection attempt 0 to 127.0.0.1:7044 (GOSSIP)
      DEBUG [main] 2019-04-17 10:11:55,420 creating outbound bootstrap to peer 127.0.0.1:7044, compression: false, encryption: disabled, coalesce: DISABLED, protocolVersion: 12
      DEBUG [ScheduledFastTasks:1] 2019-04-17 10:11:55,538 connection attempt 1 to 127.0.0.1:7044 (GOSSIP)
      DEBUG [ScheduledFastTasks:1] 2019-04-17 10:11:55,538 creating outbound bootstrap to peer 127.0.0.1:7044, compression: false, encryption: disabled, coalesce: DISABLED, protocolVersion: 12
      

      It seems like we have an offset issue of 10 between seed/storage_port.
      The port 7044 does not seem to be defined anywhere though.

      Attachments

        1. 15088-trunk.txt
          0.9 kB
          Marcus Olsson

        Issue Links

          Activity

            People

              molsson Marcus Olsson
              molsson Marcus Olsson
              Marcus Olsson
              Per Otterström, Vinay Chella
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: