Marco Dinatsoli
Marco Dinatsoli

Reputation: 10580

how to set the path of a command

I am trying to install elasticsearch plugin from couchbase, and as written in this official installation guide, I have to do this:

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

However, I keep getting this error:

the system can't find the specified path

enter image description here

Upvotes: 1

Views: 76

Answers (2)

Marco Dinatsoli
Marco Dinatsoli

Reputation: 10580

I found the error myself, it was that i was putting bin in the java home path. when i put the java home path without bin, it works

Upvotes: 3

eyalb
eyalb

Reputation: 3022

i think you need to download the plugin and the install it from you location.

https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-plugins.html

if you use --url it will download it if it is on download.elastic.co

"The plugins will be automatically downloaded in this case from download.elastic.co, and in case they don’t exist there, from maven (central and sonatype)."

Upvotes: 1

Related Questions