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

elasticSearch/openSearch startup code in MoquiStart should be removed #570

Open
eigood opened this issue Feb 10, 2023 · 3 comments
Open

Comments

@eigood
Copy link
Contributor

eigood commented Feb 10, 2023

Instead, it should uise the built-in ToolFactory support, so that just the existence of the component in the various runtime locations will then start up the external ES or OS daemon.

@eigood
Copy link
Contributor Author

eigood commented Feb 10, 2023

If the pre-baked image happened to have opensearch downloaded into it, then the only way to turn off the auto-start of it by MoquiStart would be to specify "no-run-es"; that is counter-intuitive, and the reason for this ticket.

@jonesde
Copy link
Member

jonesde commented Feb 11, 2023

What is it that you are trying to achieve?

MoquiStart does not have any plugin mechanisms, and that would be tough since this is part of a pre app server loader that is ONLY used when moqui.war is run as an executable jar file, so it doesn't know anything about components.

All it does it look for either runtime/opensearch or runtime/elasticsearch and start them in a separate process, then stop them when the JVM terminates... unless you tell it not to with the no es parameter. This does nothing if there is not runtime/opensearch/bin directory or a runtime/elasticsearch/bin directory, and if you really must have that there but don't want MoquiStart to start it when running the WAR file as an executable JAR file, then you can use the parameter.

What is the problem, and why are you filing a bunch of issues on top of a bunch of already mostly useless issues? That makes it really difficult for me or anyone to figure out what is important, let alone actually spend limited volunteer time on important things. A better forum for collaboration or musing about ideas is the forum where there are discussions as opposed to issues that need to be tracked and managed (and submitting an issue is a request for other people to not just do something, but to track and manage doing it). Sorry for the rant, but I don't like these piling up, it's difficult enough to come even close to staying on top of things.

@eigood
Copy link
Contributor Author

eigood commented Feb 11, 2023 via email

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

No branches or pull requests

2 participants