mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 17:34:17 -04:00
Allow installing multiple plugins as a transaction (#50924)
This commit allows the plugin installer to install multiple plugins in a single invocation. The installation will be treated as a transaction, so that all of the plugins are install successfully, or none of the plugins are installed.
This commit is contained in:
parent
fd33eb0d12
commit
6b20a2c176
3 changed files with 108 additions and 31 deletions
|
@ -106,6 +106,32 @@ sudo ES_JAVA_OPTS="-Djavax.net.ssl.trustStore=/path/to/trustStore.jks" bin/elast
|
|||
-----------------------------------
|
||||
--
|
||||
|
||||
[[installing-multiple-plugins]]
|
||||
=== Installing multiple plugins
|
||||
|
||||
Multiple plugins can be installed in one invocation as follows:
|
||||
|
||||
[source,shell]
|
||||
-----------------------------------
|
||||
sudo bin/elasticsearch-plugin install [plugin_id] [plugin_id] ... [plugin_id]
|
||||
-----------------------------------
|
||||
|
||||
Each `plugin_id` can be any valid form for installing a single plugin (e.g., the
|
||||
name of a core plugin, or a custom URL).
|
||||
|
||||
For instance, to install the core <<analysis-icu,ICU plugin>>, and
|
||||
<<repository-s3,S3 repository plugin>> run the following command:
|
||||
|
||||
[source,shell]
|
||||
-----------------------------------
|
||||
sudo bin/elasticsearch-plugin install analysis-icu repository-s3
|
||||
-----------------------------------
|
||||
|
||||
This command will install the versions of the plugins that matches your
|
||||
Elasticsearch version. The installation will be treated as a transaction, so
|
||||
that all the plugins will be installed, or none of the plugins will be installed
|
||||
if any installation fails.
|
||||
|
||||
[[mandatory-plugins]]
|
||||
=== Mandatory Plugins
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue