Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix issues with demo setup #9

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

lucifer4j
Copy link

  1. There is an incompatible breaking change in one of the dependencies of streamlit. Pin it to avoid import/module errors so that the dashboard can start up.
  2. pinot image doesn't have nc command used for the healthchecks so those always failed. Replace those with using wget to query pinot /health endpoints.
  3. depends_on by default does not wait for the dependencies to be healthy but just to be started. Use service_healthy to ensure container is started only after dependencies are ready.
  4. The zookeeper healthcheck using nc can be insufficient in some cases. In particular, I noticed hangs with pinot waiting for zookeeper while it was up but not ready to accept connections. The ruok/imok command is a better test.
  5. When run with the /deployments/run-java.sh script in the ubi-minimal image, the container exits mysteriously without no visible error. I have been unable to debug the cause of it so far but running the jar directly with java seems to work fine. This is not the right way to fix it but works for now.

There is an incompatible breaking change in one of the dependencies of
streamlit. Pin it to avoid import/module errors so that the dashboard
can start up.
1. pinot image doesn't have `nc` command used for the healthchecks
 so those always failed. Replace those with using wget to query pinot
 /health endpoints.
2. depends_on by default does not wait for the dependencies to be healthy
 but just to be started. Use service_healthy to ensure container is started
 only after dependencies are ready.
3. The zookeeper healthcheck using `nc` can be insufficient in some cases.
 In particular, I noticed hangs with pinot waiting for zookeeper while it
 was up but not ready to accept connections. The ruok/imok command is a better
 test.
When run with the /deployments/run-java.sh script in the ubi-minimal image,
the container exits mysteriously without no visible error. I have been unable
to debug the cause of it so far but running the jar directly with java seems
to work fine.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant