Panduan untuk Pemula

Status : Draft

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-head
Atau ubah /usr/share/elasticsearch/bin/plugin anda menjadi :

Referensi 


  1. Elasticsearch Tutorial For Beginners – Getting Started Series, http://devopscube.com/elasticsearch-tutorial-for-beginners/
  2. Elasticsearch : The Definitive Guide, https://www.elastic.co/guide/en/elasticsearch/guide/current/index.html
  3. 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