I'm trying to install Apache Cassandra on Red Hat 7 via yum
as described here https://cassandra.apache.org/_/download.html. The installation process was successful with version 4.0.3.
However, with the latest version 4.0.5 the following error message is returned during the installation process Error: Invalid version flag: or
.
The or
operator was added to the Apache Cassandra configuration with https://github.com/apache/cassandra/tree/cd0a40d09e5c029e3cac260ecf4cb3dc02deabc7.
From my understanding the or
operator was introduced with the RPM version 4.13 but Red Hat 7 ships with 4.11.3.
Is there any other solution than upgrading to a new Red Hat version?
I had the same issue.
I found this jira ticket: https://issues.apache.org/jira/browse/CASSANDRA-17765
On centos 7, it should be fixed by cassandra version 4.0.6, 4.1-beta, 4.1