Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Elastic Search version 8 #202

Open
thxmike opened this issue Mar 25, 2023 · 0 comments
Open

Elastic Search version 8 #202

thxmike opened this issue Mar 25, 2023 · 0 comments

Comments

@thxmike
Copy link

thxmike commented Mar 25, 2023

Describe the bug
After some investigation with working with different versions of elastic search I believe there is a compatibility problem with version 8. When using docker and spinning up a local elastic search container it was clear there were connectivity issues. I think rolled the elastic search image from 8.6.x to 6.8.23 and woohoo it worked.
Based on reading some of the error messages it appears to be related to a new attribute that is needed for the client.
It is related to this
https://stackoverflow.com/questions/42826735/nonodeavailableexception-none-of-the-configured-nodes-are-available
With the current version of ES and the java clients, you have to specify a cluster_name when using the java client.
I tried applying it to the URI such as elasticsearch://<elasticsearch_host>:9300?cluster.name=<cluster_name_value> but this failed.

There is definately a compatibility issue. I would debug it myself but lack a local java setup to work on this project. Hopefully this helps

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant