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

Invalid version value: 4.0~alpha4 during startup

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 4.0-beta1, 4.0
    • Component/s: Build, Packaging
    • Labels:
      None

      Description

      Hi:

      We are testing the latest cassandra-4.0 on Centos 7 using a clean database.  When we started cassandra the first time, everything is fine.  However, when we stop and restart cassandra, we got the following error and the db refuses to startup:

      ERROR [main] 2020-05-22 05:58:18,698 CassandraDaemon.java:789 - Exception encountered during startup
      java.lang.IllegalArgumentException: Invalid version value: 4.0~alpha4
       at org.apache.cassandra.utils.CassandraVersion.<init>(CassandraVersion.java:64)
       at org.apache.cassandra.io.sstable.SSTableHeaderFix.fixNonFrozenUDTIfUpgradeFrom30(SSTableHeaderFix.java:84)
       at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:250)
       at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:650)
       at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:767)
      

      The only way to get the node up and running again is by deleting all data under /var/lib/cassandra.

       

      Is that a known issue?

      Thanks, Eric

       

       

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mck Michael Semb Wever
                Reporter:
                ericwong Eric Wong
                Authors:
                Michael Semb Wever
                Reviewers:
                Benjamin Lerer
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: