Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ElasticsearchException: Failure running machine learning native code

i am learning Elasticsearch and tried to install it on my windows 8 (64 bit) machine. firstly i tried to install in using zip file downalod elasricsearch

but that didn't worked for me, the command prompt gets closed after thisafter executing upto this level(see the image)

after that i tried installing elasticsearch using windows installer (MSI). but i ended up having thisenter image description here

i found one cause for this error on internet that environment is not 64bit but in my case it is..please give me some sollution.

like image 562
HAPPY BHUVA Avatar asked Aug 12 '26 06:08

HAPPY BHUVA


2 Answers

you can append a config line

xpack.ml.enabled: false

in config file ${elastic_search_home}/config/elasticsearch.yml to bypass this problem.

like image 156
Ryanqy Avatar answered Aug 16 '26 20:08

Ryanqy


For Mac Users

On OSX installed with Homebrew
Add: xpack.ml.enabled: false To: /usr/local/etc/elasticsearch/elasticsearch.yml
And restart: brew services restart elastic/tap/elasticsearch-full

like image 27
Nithin Avatar answered Aug 16 '26 19:08

Nithin