Elasticsearch Tutorial For Beginners – Getting Started Series
Ketika menjalankan perintah :
sudo /usr/share/elasticsearch/bin/plugin install mobz/elasticsearch
Terjadi error :
Exception in thread "main" org.elasticsearch.env.FailedToResolveConfigException: Failed to resolve config path ["/usr/share/elasticsearch/config/elasticsearch.yml"], tried file path ["/usr/share/elasticsearch/config/elasticsearch.yml"], path file ["/usr/share/elasticsearch/config"/"/usr/share/elasticsearch/config/elasticsearch.yml"], and classpath
at org.elasticsearch.env.Environment.resolveConfig(Environment.java:291)
at org.elasticsearch.node.internal.InternalSettingsPreparer.prepareSettings(InternalSettingsPreparer.java:95)
at org.elasticsearch.plugins.PluginManager.main(PluginManager.java:396)
Ada cara mensiasatinya disini :
Buat file es_plugin_intall.sh isi dengan script diatas,
Perintah install plugin diatas menjadi :
./run.sh mobz/elasticsearch-headAtau ubah /usr/share/elasticsearch/bin/plugin anda menjadi :
Referensi
- Elasticsearch Tutorial For Beginners – Getting Started Series, http://devopscube.com/elasticsearch-tutorial-for-beginners/
- Elasticsearch : The Definitive Guide, https://www.elastic.co/guide/en/elasticsearch/guide/current/index.html
- Using Elasticsearch for full-text searches on unstructured data, http://uu.diva-portal.org/smash/get/diva2:1363672/FULLTEXT01.pdf
No comments:
Post a Comment