Accident scene
First, install elasticsearch 7.13.3
, then uninstall it, and then install elasticsearch 7.13.2
, start to report an error:
java.lang.IllegalStateException: cannot downgrade a node from version [7.13.3] to version [7.13.2]
at org.elasticsearch.env.NodeMetadata.upgradeToCurrentVersion(NodeMetadata.java:83) ~[elasticsearch-7.13.2.jar:7.13.2]
at org.elasticsearch.env.NodeEnvironment.loadNodeMetadata(NodeEnvironment.java:423) ~[elasticsearch-7.13.2.jar:7.13.2]
at org.elasticsearch.env.NodeEnvironment.<init>(NodeEnvironment.java:320) ~[elasticsearch-7.13.2.jar:7.13.2]
at org.elasticsearch.node.Node.<init>(Node.java:368) ~[elasticsearch-7.13.2.jar:7.13.2]
at org.elasticsearch.node.Node.<init>(Node.java:278) ~[elasticsearch-7.13.2.jar:7.13.2]
at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:217) ~[elasticsearch-7.13.2.jar:7.13.2]
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:217) ~[elasticsearch-7.13.2.jar:7.13.2]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:397) [elasticsearch-7.13.2.jar:7.13.2]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:159) [elasticsearch-7.13.2.jar:7.13.2]
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:150) [elasticsearch-7.13.2.jar:7.13.2]
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:75) [elasticsearch-7.13.2.jar:7.13.2]
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:116) [elasticsearch-cli-7.13.2.jar:7.13.2]
at org.elasticsearch.cli.Command.main(Command.java:79) [elasticsearch-cli-7.13.2.jar:7.13.2]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:115) [elasticsearch-7.13.2.jar:7.13.2]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:81) [elasticsearch-7.13.2.jar:7.13.2]
Cause of the accident
The elasticsearch
7.13.3 is not unloaded completely, and some data remains in the /var/lib/elasticsearch
path, which needs to be deleted at the same time;
Read More:
- Elasticsearch 6.2.3 version executes aggregation error Fielddata is disabled on text fields by default
- Module build failed: Error: Node Sass version 6.0.0 is incompatible with ^4.0.0
- [Solved] The version of springcloud must support the current version of springboot, otherwise the startup project will report an error: error starting ApplicationContext
- [Solved] Android Studio Error: The binary version of its metadata is 1.5.1, expected version is 1.1.15.
- How to Solve elasticsearch-7.15.1 operation errors
- Android studio version 3.0 import version 2.2.2 error Error:This Gradle plugin requires Studio 3.0 minimum
- Unable to find bundled Java version =>Mac Flutter [Android Studio Arctic Fox 2020.3.1]
- [Solved] Elasticsearch.service failed after enable elasticsearch security features
- How to Solve screenfull plug-in Error (Version Issues)
- SpringBoot High Version Import Swagger 2.9.2 Error: ApplicationContextException: Failed to start bean ‘documentationPluginsBootstrapper‘
- RuntimeError: Exporting the operator uniform to ONNX opset version 12 is not supported.
- [Solved] cocoapods Error: Runtimeerror – [xcodeproj] unknown object version
- [Solved] NPM Error: gyp: No Xcode or CLT version detected!
- How to Solve brew ERROR in `initialize‘: Version value must be a string; got a NilClass ()
- Hive 3.1.2 startup error reporting and resolution of guava version conflict
- [Solved] Android Studio Compile Error: Could not determine java version from ‘11.0.8‘.
- Error in value[[3L]](cond) : Package ‘rhdf5‘ version 2.36.0 cannot be unloaded:
- Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment
- [Solved] GBase 8a MPP Database Loading Error: Unsupported version
- Zeppelin reported an error. The JDK version is low