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
GMS fails with NPE when mysql is not setup correctly #2639
Comments
Facing similar issue when setup with provided helm chart (using prerequisites) |
In addition, when I use
|
And, in contradiction, to demonstrate the flaky nature of an effect - after couple of
|
"ERROR 1130 (HY000): Host '172.18.0.8' is not allowed to connect to this MySQL server" --> This is interesting. Seems that MySQL container is somehow denied from accessing MySQL, as opposed to MySQL being down. Can you tell if that container is up when you see this issue? How are you folks deploying DataHub? Docker compose, helm, etc? |
In my case it is just docker-compose run:
MySQL is being running during that error, how evere there is no |
@jjoyce0510 I believe I have working hypothesys on this flake, it is connected with
I may suppose, that when running |
@jjoyce0510 just for history. It is not a fix, just pretends to be a fix. To avoid this override flackiness, I edited
|
Thank you guys for the context! |
@amorskoy Do you see any clear path to pushing a workaround back to the original dev.sh script? It might be useful for others as well |
Hi @jjoyce0510. Sorry, I have lost the context as I belong to another company/project this year - there is no way for me to restore all this, sorry ((
My way is naive - I have inlined merge command into dev.sh, so merging each time. But it worked fine as I recall. A better way would be to understand, why overrides were not always picked by the docker-compose tool. I tried that, but the community had no clear workaround. |
As this is a very old issue which we don't have full context on now I'll close it. If this issue is still happening in latest releases we would love to have someone with full context add the details so we can work on it. |
Describe the bug
The following NPE is thrown while GMS instantiates if MySQL is not setup correctly (i.e. datahub db doesn't exist)
This error message gives no signal about what went wrong, making it very hard to debug and fix the issue.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should clearly indicate that the db has not been setup correctly, so that the operator can go an fix the db.
The text was updated successfully, but these errors were encountered: