Hello, team! I'm trying to run quickstart on lates...
# troubleshoot
m
Hello, team! I'm trying to run quickstart on latest version of Datahub and getting unhealthy datahub-gms container, and this time I can't fix it myself, it shows some NPEs in logs. Can anybody help me please? Error is in the thread.
Copy code
2022-07-19 07:57:58.682:WARN:oejw.WebAppContext:main: Failed startup of context o.e.j.w.WebAppContext@2d209079{Open source GMS,/,[file:///tmp/jetty-0_0_0_0-8080-war_war-_-any-8207468374961321929/webapp/, jar:file:///tmp/jetty-0_0_0_0-8080-war_war-_-any-8207468374961321929/webapp/WEB-INF/lib/swagger-ui-4.10.3.jar!/META-INF/resources],UNAVAILABLE}{file:///datahub/datahub-gms/bin/war.war}
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'siblingGraphServiceFactory': Unsatisfied dependency expressed through field '_entityService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'entityAspectDao' defined in com.linkedin.gms.factory.entity.EntityAspectDaoFactory: Unsatisfied dependency expressed through method 'createEbeanInstance' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ebeanServer' defined in com.linkedin.gms.factory.entity.EbeanServerFactory: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [io.ebean.EbeanServer]: Factory method 'createServer' threw exception; nested exception is java.lang.NullPointerException
And a long stacktrace with more NPEs after this one
Also this:
Copy code
2022-07-19 07:57:58.682:WARN:oejw.WebAppContext:main: Failed startup of context o.e.j.w.WebAppContext@2d209079{Open source GMS,/,[file:///tmp/jetty-0_0_0_0-8080-war_war-_-any-8207468374961321929/webapp/, jar:file:///tmp/jetty-0_0_0_0-8080-war_war-_-any-8207468374961321929/webapp/WEB-INF/lib/swagger-ui-4.10.3.jar!/META-INF/resources],UNAVAILABLE}{file:///datahub/datahub-gms/bin/war.war}
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'siblingGraphServiceFactory': Unsatisfied dependency expressed through field '_entityService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'entityAspectDao' defined in com.linkedin.gms.factory.entity.EntityAspectDaoFactory: Unsatisfied dependency expressed through method 'createEbeanInstance' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ebeanServer' defined in com.linkedin.gms.factory.entity.EbeanServerFactory: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [io.ebean.EbeanServer]: Factory method 'createServer' threw exception; nested exception is java.lang.NullPointerException
After three nukes-quickstarts the error no longer occurs 🤷‍♂️
b
Oh wow
So this occurs when the lib we use to talk to our document store (MySQL) cannot establish a connection - typically it indicates that the MySQL pod is down
m
Hi, @big-carpet-38439, it's me again. I've tried to recreate the instance now and getting the same error again. I'm using docker-compose, not kubernetes, and mysql container is running. There are some messages in logs, but no explicit error:
Copy code
2022-08-02T10:23:06.728496Z 31 [Note] Got an error reading communication packets
2022-08-02T10:24:57.975068Z 33 [Note] Bad handshake
Any idea how to debug this?
If that matters, I'm able to connect to mysql and run select queries