为Elasticsearch安装奇迹插件 [英] Install marvel plugin for Elasticsearch

查看:102
本文介绍了为Elasticsearch安装奇迹插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经下载了Elasticsearch的1.1.0版本,并且运行良好.我想安装marvel插件,所以我从elasticsearch主目录运行以下命令(就像官方教程中

I have downloaded the version 1.1.0 of elasticsearch, and it's running well. I would like to install the marvel plugin, so I run the following command from the elasticsearch home directory (exactly like told in the official tutorial at 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时得到的:

And this is what I get when I use -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目录中.

You could try to go to the address http://download.elasticsearch.org/elasticsearch/marvel/marvel-latest.zip with your web browser. If you can download the marvel-latest.zip that way then you can manually create plugins directory under elasticsearch directory and unzip the marvel-latest.zip file in the plugins directory, i.e. the zip contents should go to plugins\marvel directory under ElasticSearch home directory.

请确保将未压缩的目录从marvel-latest重命名为marvel,以便该地址

Be sure to rename the unzipped directory from marvel-latest to marvel, so that address

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

在本教程中建议使用.

ElasticSearch版本1.1.1与您有一些类似的问题.

I had somewhat similar problem as you with the ElasticSearch version 1.1.1. The

bin\plugin -i elasticsearch/marvel/latest

命令出现FileNotFound错误,尽管使用Web浏览器我可以下载该插件并使其正常工作.

command gave FileNotFound errors though with the web browser I was able to download the plugin and get it work.

这篇关于为Elasticsearch安装奇迹插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆