I have a ES 5.2 cluster
I would think there would be some version checking so the application does NOT install incompatible versions.
Why does elasticsearch-plugin installer do this?
Also it seems the documentation to install a plugin from a zip file is hidden somewhere or scarce.
Particullay Im trying to install mapper-attachments-5.2.2.zip
I think there is more to it than creating plugins directory and unzipping there....
In the ES_HOME directory I create a plugins directory and unzip mapper-attachments-5.2.2.zip that creates a elasticsearch directory,Then i do ES_HOME/elasticsearch-plugin install mapper-attachments and it again installs a pre 5,2 version
Seems the online documentation has inconsistencies as well...
"Mapper Attachments Plugin edit
Warning
Deprecated in 5.0.0.
The mapper-attachments plugin has been replaced by the ingest-attachment plugin"
Im running
elasticsearch -version
Version: 5.2.2, Build: f9d9b74/2017-02-24T17:26:45.835Z, JVM: 1.8.0_121
I simply do
elasticsearch-plugin install ingest-attachment
yet the installer is installing plugins before version 2.0!!
again a failure...
[2017-03-14T22:38:32,971][ERROR][o.e.b.Bootstrap ] Exception
java.lang.IllegalStateException: Could not load plugin descriptor for existing plugin [ingest-attachment]. Was the plugin built before 2.0?
yum update elasticsearch
Setting up Update Process
elasticsearch-5.x | 1.3 kB
elasticsearch-5.x/primary
No Packages marked for Update