elasticsearch - 奇迹插件找不到.properties文件

标签 elasticsearch elasticsearch-marvel

我已经坚持了大约一天。我在redhat vm上下载并安装了ElasticSearch 2.3.3。我正在尝试按照该站点上的入门视频进行操作,但是该视频中的安装命令之一对我来说不起作用,因此我尝试遵循该指南中的安装方法。

我下载了rpm并输入以下命令进行安装:

cd /usr/share/elasticsearch
bin/plugin -DproxyHost=... -DproxyPort=... install license
bin/plugin -DproxyHost=... -DproxyPort=... install marvel-agent

然后,我启动了我的ElasticSearch节点,并转到localhost:9200 / _plugin / marvel,但没有弹出任何消息。

然后我以为可能是因为我只下载了代理而不是惊奇,所以我尝试从cmd行安装惊奇,但是我不断收到FileNotFound异常
bin/plugin -DproxyHost=... -DproxyPort=... install marvel

然后,我手动下载了marvel-2.3.3.tar.gz并尝试手动安装
bin/plugin -DproxyHost=... -DproxyPort=... install --verbose file://.../marvel-2.3.3.tar.gz

但我被告知zip缺少plugin-descriptor.properties文件
Verifying file:/home1/isuser/Downloads/marvel-2.3.3.tar.gz checksums if available ...
NOTE: Unable to verify checksum for downloaded plugin (unable to find .sha1 or .md5 file to verify)
ERROR: Could not find plugin descriptor 'plugin-descriptor.properties' in plugin zip

然后,我解压缩了marvel-2.3.3.tar的 zipper ,添加了一个.properties文件,重新压缩并重新安装。仍然有同样的错误。

我真的需要一些帮助。这非常令人沮丧。我仍然需要安装Kibana,但是如果该安装与该安装一样令人发指,那么我就不会期待它。

编辑:

通过将.properties文件从marvel目录内移到同一级别,我克服了这个错误,但是现在我遇到了一个新错误。它一直给我一个FileNotFoundException
[root@den01ejm elasticsearch]# bin/plugin install -DproxyHost=www-proxy.us.oracle.com -DproxyPort=80 --verbose /home1/isuser/Desktop/up/marvel-2.3.3.tar.gz 
-> Installing /home1/isuser/Desktop/up/marvel-2.3.3.tar.gz...
Trying https://download.elastic.co//home1/home1-isuser.zip ...
Failed: FileNotFoundException[https://download.elastic.co//home1/home1-isuser.zip]; nested: FileNotFoundException[https://download.elastic.co//home1/home1-isuser.zip]; 
Trying https://search.maven.org/remotecontent?filepath=/home1/isuser/home1-isuser.zip ...
Failed: FileNotFoundException[https://search.maven.org/remotecontent?filepath=/home1/isuser/home1-isuser.zip]; nested: FileNotFoundException[https://search.maven.org/remotecontent?filepath=/home1/isuser/home1-isuser.zip]; 
Trying https://oss.sonatype.org/service/local/repositories/releases/content//home1/isuser/home1-isuser.zip ...
Failed: FileNotFoundException[https://oss.sonatype.org/service/local/repositories/releases/content//home1/isuser/home1-isuser.zip]; nested: FileNotFoundException[https://oss.sonatype.org/service/local/repositories/releases/content//home1/isuser/home1-isuser.zip]; 
Trying https://github.com//home1/archive/isuser.zip ...
Failed: FileNotFoundException[https://github.com//home1/archive/isuser.zip]; nested: FileNotFoundException[https://github.com//home1/archive/isuser.zip]; 
Trying https://github.com//home1/archive/master.zip ...
Failed: FileNotFoundException[https://github.com//home1/archive/master.zip]; nested: FileNotFoundException[https://github.com//home1/archive/master.zip]; 
ERROR: failed to download out of all possible locations..., use --verbose to get detailed information

最佳答案

cd /usr/share/elasticsearch
bin/plugin -DproxyHost=... -DproxyPort=... install license
bin/plugin -DproxyHost=... -DproxyPort=... install marvel-agent

所有这些都需要安装在 Elasticsearch 2.x中,以使Marvel监视Elasticsearch。 Marvel Agent监视依赖于许可证插件的节点,然后将数据发送到配置它所要去的任何地方(默认情况下发送到同一节点)。

您要安装的第三个插件是Marvel UI组件。从ES 2.x开始,UI组件是 Kibana 的一部分,而不是 Elasticsearch 的一部分。

因此,您应该在Kibana中安装该插件。当您尝试使用Marvel 2.3.3时,您应该使用Kibana 4.5(所以现在是Kibana 4.5.1)。从Kibana,您可以将其安装在此处:
bin/kibana plugin --install elasticsearch/marvel/latest

注意:在Elasticsearch 5.x和Kibana 5.x中,插件命令的语法将发生变化,这将大大简化为Elasticsearch和Kibana完全相同的文件,但是双方仍然都需要这两个应用程序:监视和用户界面。
bin/elasticsearch-plugin install x-pack
bin/kibana-plugin install x-pack

关于elasticsearch - 奇迹插件找不到.properties文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37665224/

相关文章:

ruby-on-rails - elasticsearch-rails VS (re)tire gem (Elasticsearch and Rails 3.2)

python - 如何将json作为json而不是PUT方法推送到 Elasticsearch

django - 如何将索引属性强制为数字(或 float )?

node.js - 检索有关ElasticSearch Node 的信息

elasticsearch - Elasticsearch集群

elasticsearch - 日期时间字段的模糊性

java - 无法在 Elasticsearch 中对大文件进行批量索引

elasticsearch - Elasticsearch 中的子字段聚合分组

elasticsearch - 安装Marvel插件Elasticsearch时出现问题