java.lang.IllegalStateException: cannot downgrade a node from version [8.10.3] to version [8.9.0]
at org.elasticsearch.env.NodeMetadata.verifyUpgradeToCurrentVersion(NodeMetadata.java:129) ~[elasticsearch-8.9.0.jar:?]
at org.elasticsearch.env.NodeMetadata.upgradeToCurrentVersion(NodeMetadata.java:136) ~[elasticsearch-8.9.0.jar:?]
at org.elasticsearch.env.NodeEnvironment.loadNodeMetadata(NodeEnvironment.java:634) ~[elasticsearch-8.9.0.jar:?]
at org.elasticsearch.env.NodeEnvironment.<init>(NodeEnvironment.java:333) ~[elasticsearch-8.9.0.jar:?]
at org.elasticsearch.node.Node.<init>(Node.java:490) ~[elasticsearch-8.9.0.jar:?]
at org.elasticsearch.node.Node.<init>(Node.java:334) ~[elasticsearch-8.9.0.jar:?]
at org.elasticsearch.bootstrap.Elasticsearch$2.<init>(Elasticsearch.java:234) ~[elasticsearch-8.9.0.jar:?]
at org.elasticsearch.bootstrap.Elasticsearch.initPhase3(Elasticsearch.java:234) ~[elasticsearch-8.9.0.jar:?]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:72) ~[elasticsearch-8.9.0.jar:?]
This error isn't related to the current version of the Elasticsearch instances you're trying to start, but implies that you'd previously started an Elasticsearch instance that was using version 8.10.3 that wrote data to the same place one of these instances is trying to read from.
This is controlled by this config:
path.data: /data
If you don't care about whatever was saved in there by an 8.10.3 instance, you can do rm -rf /data/*. If you do care about that old data, just create a new dir like /data-8.9.0 and change all the configs for these new instances to point to the new path.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.