I tried to configure a multi-node Elasticsearch (3 nodes) and an app search engine using Docker compose.
I finally got what I think is a working docker-compose.yml for this (The documentation on using Docker compose with App search only includes a single node instance)
However, in running it, I get the following error message:
appsearch-engine | [2020-01-15T20:36:12.852+00:00][14][2002][app-server][ERROR]:
appsearch-engine | --------------------------------------------------------------------------------
appsearch-engine |
appsearch-engine | Elasticsearch cluster must be licensed. OSS versions of Elasticsearch do not contain a supported license. Please download and run an Elasticsearch binary from Download Elasticsearch | Elastic to acquire a free, Basic license.
appsearch-engine |
appsearch-engine | --------------------------------------------------------------------------------
Does this mean we can not run multi-node Elasticsearch clusters backing app search if we self-host?
If this is is not the right interpretation, how do we apply a basic license to the docker-compose.yml during the startup?
Is there an explicitly switch or flag to specify that I want the standard distribution? I don't get this error the first time, but am getting this error consistently when I bring up the compose file subsequently.
Thanks for the reply. The docker compose works fantastic in single node settings.
I have found intermitten errors complaining about license or inability to connect to the primary node when running a 3-node elastic search cluster with app search.
However, the workaround I've found is simply restarting the appsearch service using docker-compose. This works reliably every time.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.