为 elasticsearch 2.1 安装 elasticsearch-transport-couchbase 失败

Installing elasticsearch-transport-couchbase for elasticsearch 2.1 failes

我以前很容易安装elasticsearch-transport-couchbase插件,但是这次不太顺利。

首先我尝试使用 README 安装插件,如下所示:

bin/plugin -install transport-couchbase -url http://packages.couchbase.com.s3.amazonaws.com/releases/elastic-search-adapter/2.1.1/elasticsearch-transport-couchbase-2.1.1.zip

它returns以下错误:

ERROR: unknown command [-install]. Use [-h] option to list available commands

根据es documentations

A plugin can also be downloaded directly from a custom location by specifying the URL:

sudo bin/plugin install [url]

我试过这个:

bin/plugin install http://packages.couchbase.com.s3.amazonaws.com/releases/elastic-search-adapter/2.1.1/elasticsearch-transport-couchbase-2.1.1.zip

结果是:

Downloading .........................................................................................................................DONE Verifying http://packages.couchbase.com.s3.amazonaws.com/releases/elastic-search-adapter/2.1.1/elasticsearch-transport-couchbase-2.1.1.zip checksums if available ... Failed: IOException[Server returned HTTP response code: 403 for URL: http://packages.couchbase.com.s3.amazonaws.com/releases/elastic-search-adapter/2.1.1/elasticsearch-transport-couchbase-2.1.1.zip.sha1]; nested: IOException[Server returned HTTP response code: 403 for URL: http://packages.couchbase.com.s3.amazonaws.com/releases/elastic-search-adapter/2.1.1/elasticsearch-transport-couchbase-2.1.1.zip.sha1]; 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

如何安装插件?

Couchbase 传输插件 v2.1.2 不支持高于 1.7.3 的 Elasticsearch。

作为 ,ElasticSearch 版本 > 2 需要更新的插件。

目前,较新的插件版本为 v2.2.1.2,但不要依赖这个 - 相反,请按照沙发底座上的安装指南进行操作 git 存储库:couchbase git repository elasticsearch plugin。这更有可能包含有关进程和正确插件版本的最新信息。