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

Update quickstart with new solr command #298

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

skorper
Copy link
Member

@skorper skorper commented Feb 15, 2024

I was running through the quickstart and found the ZK_HOST environment variable wasn't being used by the solr container, resulting in failure. By updating to SDAP_ZK_SERVICE_HOST the solr container ran successfully.

@RKuttruff
Copy link
Contributor

This is odd, my existing deployment with Docker uses ZK_HOST without issue. What kind of error were you seeing?

@skorper
Copy link
Member Author

skorper commented Feb 16, 2024

I can try to recreate the issue a bit later. But in summary, the solr container failed to launch because it could not find the zookeeper host. It seemed like ZK_HOST was being totally ignored. To confirm this, I changed the port in ZK_HOST and noticed the solr container was still attempting to access zookeeper at the old port. When inspecting the solr container I noticed there were other ZK related env vars and played around with it until I found something that worked. I'll post a follow-up with logs and more details soon

@RKuttruff
Copy link
Contributor

Thinking on this, it may be a good idea to provide both commands and inform the user that if one does not work, try the other.

Copy link
Contributor

@ngachung ngachung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to this thread https://lists.apache.org/thread/3n2tdsll202z644r4w8x8wb6c0f3o1n0 this change resolved the issue user was encountering, so I think we should merge this.

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