gpt4 book ai didi

elasticsearch-marvel - 为 Elasticsearch 安装 Marvel 插件

转载 作者:行者123 更新时间:2023-12-03 10:46:20 24 4
gpt4 key购买 nike

我已经下载了elasticsearch 1.1.0版本,运行良好。我想安装 marvel 插件,所以我从 elasticsearch 主目录运行以下命令(正如在 http://www.elasticsearch.org/guide/en/marvel/current/#_simple_install 的官方教程中所说的一样):

bin\plugin -i elasticsearch/marvel/latest

但我收到以下错误:
-> Installing elasticsearch/marvel/latest...
Trying http://download.elasticsearch.org/elasticsearch/marvel/marvel-latest.zip.
..
Trying http://search.maven.org/remotecontent?filepath=elasticsearch/marvel/lates
t/marvel-latest.zip...
Trying https://oss.sonatype.org/service/local/repositories/releases/content/elas
ticsearch/marvel/latest/marvel-latest.zip...
Trying https://github.com/elasticsearch/marvel/archive/vlatest.zip...
Trying https://github.com/elasticsearch/marvel/archive/master.zip...
Failed to install elasticsearch/marvel/latest, reason: failed to download out of
all possible locations..., use -verbose to get detailed information

这就是我使用 -verbose 时得到的结果:
-> Installing elasticsearch/marvel/latest...
Trying http://download.elasticsearch.org/elasticsearch/marvel/marvel-latest.zip.
..
Failed: UnknownHostException[download.elasticsearch.org]
Trying http://search.maven.org/remotecontent?filepath=elasticsearch/marvel/lates
t/marvel-latest.zip...
Failed: UnknownHostException[search.maven.org]
Trying https://oss.sonatype.org/service/local/repositories/releases/content/elas
ticsearch/marvel/latest/marvel-latest.zip...
Failed: UnknownHostException[oss.sonatype.org]
Trying https://github.com/elasticsearch/marvel/archive/vlatest.zip...
Failed: UnknownHostException[github.com]
Trying https://github.com/elasticsearch/marvel/archive/master.zip...
Failed: UnknownHostException[github.com]
Failed to install elasticsearch/marvel/latest, reason: failed to download out of
all possible locations..., use -verbose to get detailed information

最佳答案

你可以尝试去地址http://download.elasticsearch.org/elasticsearch/marvel/marvel-latest.zip使用您的网络浏览器。如果您可以通过这种方式下载 marvel-latest.zip,那么您可以手动在 elasticsearch 目录下创建 plugins 目录并将 marvel-latest.zip 文件解压缩到 plugins 目录中,即 zip 内容应转到
ElasticSearch 主目录下的 plugins\marvel 目录。

一定要把解压后的目录从 marvel-latest 重命名为 marvel,这样地址

http://any-server-in-cluster:9200/_plugin/marvel/

在教程作品中建议。

我在使用 ElasticSearch 1.1.1 版时遇到了与您类似的问题。这
bin\plugin -i elasticsearch/marvel/latest

命令给出了 FileNotFound 错误,尽管使用网络浏览器我能够下载插件并使其工作。

关于elasticsearch-marvel - 为 Elasticsearch 安装 Marvel 插件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23604868/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com