Upgraded to Elasticsearch version from 1.5.0 to 2.1.1 by Elastic given process and upgraded java version from 1.7.0 to 1.8.0
Step 1) rm -rf plugins/
2) cd /usr/share/elasticsearch
3)./bin/plugin install mobz/elasticsearch-head
The above process was worked in other instance.
Despite this topic is old, I'll post the answer here. Wish someone did that already
I've had exactly the same problem. The reason was that I upgraded elastic by copying 2.4 into 1.5.2 folder, and ended up having both 1.5 and 2.4 jars in lib folder. Remove everything lib, modules folders and do a fresh copy, this should fix the problem.
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.