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

nodetool ring throws java.lang.AssertionError in TokenMetadata.getTopology

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • Tool/nodetool
    • None
    • Normal

    Description

      $ bin/nodetool -h localhost ring
      Exception in thread "main" java.lang.AssertionError
              at org.apache.cassandra.locator.TokenMetadata.getTopology(TokenMetadata.java:851)
              at org.apache.cassandra.service.StorageService.effectiveOwnership(StorageService.java:2781)
              at org.apache.cassandra.service.StorageService.effectiveOwnership(StorageService.java:70)
      

      TokenMetadata.getTopology() can only be called on a clone of TokenMetadata, not the StorageService instance.

      Attachments

        1. 4429.patch
          2 kB
          Sam Overton

        Activity

          People

            soverton Sam Overton
            soverton Sam Overton
            Sam Overton
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: