【问题标题】:Elasticsearch 2.2 : Cant install marvel pluginElasticsearch 2.2:无法安装奇迹插件
【发布时间】:2016-05-12 20:03:43
【问题描述】:

我正在尝试在 Windows 上安装适用于 ES 和 Kibana 的 marvel sense 插件。我有 ES 版本 2.2.0 和 Kibana 版本 4.4.0

这是我尝试做的事情

对于 ES

plugin install license

我明白了

-> Installing license...
Trying https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugi
n/license/2.2.0/license-2.2.0.zip ...
ERROR: failed to download out of all possible locations..., use --verbose to get
 detailed information

我也试过了

plugin install marvel-agent

但我明白了

-> Installing marvel-agent...
Trying https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugi
n/marvel-agent/2.2.0/marvel-agent-2.2.0.zip ...
ERROR: failed to download out of all possible locations..., use --verbose to get
 detailed information

对于 Kibana,我知道它不会起作用,但仍然

我试过了

plugin --install elasticsearch/marvel/latest

我得到了

Installing marvel
Attempting to transfer from https://download.elastic.co/elasticsearch/marvel/mar
vel-latest.tar.gz
Error: Client request error: connect ETIMEDOUT
Plugin installation was unsuccessful due to error "Client request error: connect
 ETIMEDOUT"

有没有人遇到过类似的问题?任何帮助,将不胜感激。对于 ES 2.1 和 Kibana 4.3,我没有遇到这些问题

我从 ES 网站下载了所有内容。

编辑

上面提到的离线安装

https://www.elastic.co/guide/en/marvel/current/installing-marvel.html#offline-installation

适用于 ES,但不适用于 Kibana。它抱怨一个无效的网址。

【问题讨论】:

    标签: elasticsearch kibana kibana-4 elasticsearch-2.0 elasticsearch-marvel


    【解决方案1】:

    对于它建议使用 --verbose 的每个失败,在这样做时,您应该会看到它尝试下载的 URL 的 FileNotFoundException。

    但是,我刚刚在 Windows 机器上安装了 Marvel for Elasticsearch 2.2.0,使用与您相同的命令:

    ...\elasticsearch-2.2.0\bin>plugin install license
    

    如您所见,它尝试使用的 URL 与您的匹配,因此该软件包应该可用。

    -> Installing license...
    Trying https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/license/2.2.0/license-2.2.0.zip ...
    Downloading .......DONE
    Verifying https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/license/2.2.0/license-2.2.0.zip checksums if available ...
    Downloading .DONE
    Installed license into C:\Elasticsearch\elasticsearch-2.2.0\plugins\license
    

    您是从 \bin 发出命令吗?

    【讨论】:

    【解决方案2】:

    这个命令在代理后面似乎不能很好地工作,而且通常的 http_proxy 环境变量似乎也不能在这里使用。

    根据this link,可以设置一些参数来指定代理设置,但是那里的命令是为marvel 1.x设置的。下面的命令对我有用:

    ./bin/plugin -DproxyPort=port_number -DproxyHost=hostname install license
    

    更多信息也可以在elasticsearch文档here中找到

    【讨论】:

    • 您缺少链接 URL。
    • 抱歉,刚刚添加了它
    猜你喜欢
    • 2016-07-29
    • 2015-08-13
    • 2014-04-23
    • 1970-01-01
    • 1970-01-01
    • 2013-01-06
    • 2017-07-10
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多