我正在尝试在我的EC2实例上部署elasticSearch,但是我收到了这个错误:
[2014-04-04 12:23:30,499][INFO ][node ] [Franklin Hall] version[1.0.1], pid[4516], build[5c03844/2014-02-25T15:52:53Z] [2014-04-04 12:23:30,500][INFO ][node ] [Franklin Hall] initializing ... [2014-04-04 12:23:30,531][INFO ][plugins ] [Franklin Hall] loaded [cloud-aws], sites [] {1.0.1}: Initialization Failed ... - ExecutionError[java.lang.NoClassDefFoundError: org/elasticsearch/ElasticSearchIllegalArgumentException] NoClassDefFoundError[org/elasticsearch/ElasticSearchIllegalArgumentException] ClassNotFoundException[org.elasticsearch.ElasticSearchIllegalArgumentException]
当我使用该命令启动ElasticSearch时
sudo bin/elasticsearch -Xss256k -Xmx2048m
这是我安装的版本:
Elastic Search 1.0.1 Elasticsearch-cloud-aws 1.0.0
你们知道出了什么问题吗?
我有同样的问题.在我看来,我从Ubuntu存储库安装并遵循建议安装elasticsearch/elasticsearch-cloud-aws/1.4.0的教程.
如果你这样做了
cd /usr/share/elasticsearch
sudo bin/plugin -remove elasticsearch/elasticsearch-cloud-aws/1.4.0
并安装工作版,做
cd /usr/share/elasticsearch sudo bin/plugin -install elasticsearch/elasticsearch-cloud-aws/2.2.0