In order to fix the log4j2 vulnerability, we plan to upgrade the ES version from 6.3.2 to 6.8.22, and 7.x to 7.16.2. When reading the rolling upgrade document, the rolling upgrade document for 7.16.2 mentioned that the plugin needs to be upgraded. version, but within the rolling upgrade documentation for 6.8.22, there is nothing about upgrading plugins.
I have some questions:
Do I need to upgrade the plug-in version in time during the rolling upgrade process?
Is the plugin version backward compatible? Will the new version of the plugin be deprecated?
In a cluster, some ES nodes are upgraded to 6.8.22 or 7.16.2, and the plug-in version is upgraded to 6.8.22 or 7.16.2. If multiple plug-in versions coexist, will it affect the normal access of the cluster?
Yes, do it before you restart the node
--After shutting down the node and before starting the node with ES 6.8.22 binaries, use elasticsearch-plugins install plugin-name from the 6.8.22 package ?
Which plugin?
analysis-ik , version : 6.3.2 , description : IK Analyzer for Elasticsearch }
analysis-pinyin , version : 6.3.2 , description : Pinyin Analysis for Elasticsearch }
analysis-ik , version : 6.3.2 , description : IK Analyzer for Elasticsearch }
analysis-pinyin , version : 6.3.2 , description : Pinyin Analysis for Elasticsearch }
analysis-ik , version : 7.4.2 , description : IK Analyzer for Elasticsearch }
analysis-pinyin , version : 7.4.2 , description : Pinyin Analysis for Elasticsearch }
analysis-jieba , version : 6.4.0 , description : A jieba analysis of plugins for Elasticsearch }
repository-hdfs , version : 6.8.22 , description : The HDFS repository plugin adds support for Hadoop
sql , version : 6.3.2.0 , description : Query elasticsearch using SQL }
analysis-jieba , version : 6.0.0 , description : A jieba analysis of plugins for Elasticsearch }
bitmap-plugin , version : 6.3.2 , description : The bitmap-engine plugin allows to compute bitmap of a field s values at search-time}
analysis-stconvert , version : 6.3.2 , description : STConvert is a analysis plugin that convert Chinese
analysis-ik , version : 6.4.1 , description : IK Analyzer for Elasticsearch }
analysis-jieba , version : 6.4.1 , description : A jieba analysis of plugins for Elasticsearch }
analysis-ik , version : 7.2.0 , description : IK Analyzer for Elasticsearch }
analysis-icu , version : 6.3.2 , description : The ICU Analysis plugin integrates Lucene ICU module
analysis-pinyin , version : 7.2.0 , description : Pinyin Analysis for Elasticsearch }
sql , version : 7.2.0.0 , description : Query elasticsearch using SQL }
analysis-jieba , version : 6.3.2 , description : A jieba analysis of plugins for Elasticsearch }
analysis-pinyin , version : 6.4.1 , description : Pinyin Analysis for Elasticsearch }
analysis-remote , version : 1.0.0 , description : Remote Analysis plugin for Elasticsearch }
feature-log , version : 6.3.2 , description : feature log plugin for Elasticsearch }
analysis-remote , version : 1.0.0 , description : Remote Analysis plugin for Elasticsearch }
Yes, Elasticsearch likely won't start
I use the new 6.8.22 zip package to unzip it to a new directory, copy the old elasticsearch.yaml and jvm.options files to overwrite the config in the new directory, and start the node after that. The node starts normally without failure. And successfully joined the cluster, but there is no return when executing the elasticsearch-plugin list command, the same as using cat/plugins
I still have a question, what are the main factors that affect the coexistence of multiple versions of ES during ES rolling upgrades? Why is it safer to be under the hour?
At present, many of our indexes occupy terabytes of space, and it may take 1-2 hours to restart the ES node to restore the green state, so I am worried that the coexistence time of multiple versions of ES will reach several days or weeks. Will there be more the problem arises?
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.