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
"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
1 My initial issue - is why does ES allow installing of incompatible plugins?
I did a rpm install using your repository
this was installed last week
no other ES was installed on this cluster
using the repo gives me the ES_HOME of
/usr/share/elasticsearch/bin
[2017-03-15T15:52:28,651][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?
at org.elasticsearch.plugins.PluginsService.getPluginBundles(PluginsService.java:295) ~[elasticsearch-5.2.2.jar:5.2.2]
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.