Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot download and start 8.x #140

Closed
ChrisSamo632 opened this issue Feb 11, 2022 · 8 comments
Closed

Cannot download and start 8.x #140

ChrisSamo632 opened this issue Feb 11, 2022 · 8 comments

Comments

@ChrisSamo632
Copy link

transport.tcp.port is no longer a valid setting (should be transport.port).

Elasticsearch 8.x is also "secure by default" with TLS certificates generated for use on startup and a generated password for the elastic (and other built-in) user(s). This may need to be handled differently when starting up the instance(s).

@ChrisSamo632
Copy link
Author

May also be worth addressing the fact that OSS releases stopped after 7.10.2 as well (I.e. only default instead)

@alexcojocaru
Copy link
Owner

Thanks for reporting that, Chris. I will look into fixing those issues soon.

@alexcojocaru
Copy link
Owner

I doubt it's worth getting this project to work with the latest ES version. There is not much info on the oss version, I wonder how you found out that version 7.10.2 was the last one to have an oss flavour. If that is accurate, it's been more than a year since that version was released, and no one else raised this issue. In other words, I wonder if this maven plugin is still used by anyone else.

@ChrisSamo632
Copy link
Author

You can see the release history for elasticsearch-oss at https://www.elastic.co/downloads/past-releases#elasticsearch-oss

Elasticsearch combined their release artifacts into https://www.elastic.co/downloads/past-releases#elasticsearch a while ago, the difference now being what xpack licence (if any) one chooses to use when starting the elasticsearch instance(s) - no xpack effectively being the oss version

I know this plugin works with the latest 7.17.0 version of elasticsearch (just use the "default" flavour and optionally add xpack settings for the startup) as it's used in apache/nifi for integration tests (https://github.com/apache/nifi/blob/main/nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-client-service/pom.xml), which is where I was hoping to use the same for 8 0.0 to prove compatibility - https://issues.apache.org/jira/browse/NIFI-9678 (the integration tests in nifi main are currently set to use 7.10.2 due to the oss versioning, but only because I didn't want to add another -default only profile into the linked pom, I have successfully tested it with newer versions though)

@ChrisSamo632
Copy link
Author

Interestingly this plugin is one of those suggested in an Elastic issue that's been open for a while about documenting options for (external) application developers to integration test with elasticsearch - elastic/elasticsearch#55258

But as you say, I guess not many have been using it with more recent versions of elasticsearch

@alexcojocaru
Copy link
Owner

alexcojocaru commented Feb 27, 2022

I have started working on making it work with ES 8. Removing the flavour option and renaming the transport.tcp.port property were simple to fix; the https/security changes are more difficult to adapt to. The Zen discovery was completely redone in ES, which might have broken the multi-instance configuration of the plugin - will look into that too.

@alexcojocaru
Copy link
Owner

All done; just finished pushing the latest version 6.20 to sonatype.

@ChrisSamo632
Copy link
Author

All done; just finished pushing the latest version 6.20 to sonatype.

That's great, I'll try to make use of it in the near future and will raise any further issues separately

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

No branches or pull requests

2 participants