LoginSignup
1
1

More than 5 years have passed since last update.

Elasticsearch pluginインストール時に指定した(と思っていた)pathに配置されなかった

Posted at

原因

  1. confファイル(elasticsearch.yml)の場所(path.conf)をデフォルトから変更している
  2. pluginファイルの配置場所(path.plugins)をデフォルトから変更している

上記2つが重なったことが原因だった模様。
pluginコマンドがconfファイルを見つけられない → デフォルトのpath.pluginsを使う

対策

pluginのインストール先を指定する
./bin/plugin -Des.path.plugins=./sample install ...

confファイルの場所を指定する
./bin/plugin -Des.path.conf=./sample install ...

どちらがいいかは運用次第ですかね。
私のところではelasticsearch自体の起動時にもconfファイルの場所を指定しているので、pluginのインストール時にもconfファイルの場所を指定する方にしました。

環境

下記のバージョンで確認しました。

elasticsearch 1.7.5
elasticsearch 1.6.0

参考

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1