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

Invalid version value: 4.0~alpha4 during startup

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 4.0-beta1, 4.0
    • Build, Packaging
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: