Hello everyone, I have been trying to migrate our ...
# troubleshoot
f
Hello everyone, I have been trying to migrate our Proof of Concept demo in Docker, to EKS with managed Kafka, Elastic Search and MySQL database. Upon making an attempt, I keep running into an error in
datahub-gms
which fails the pod creations with the following error I'll add as a reply. Has anyone run into this before, or have any ideas? If there's any information that I can provide, please let me know. Thanks in advance for any information you can provide.
Copy code
15:21:16.484 [main] ERROR o.s.web.context.ContextLoader:313 - Context initialization failed                                                                                                                                                  org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'recommendationServiceFactory': Unsatisfied dependency expressed through field 'topPlatformsCandidateSource'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'topPlatformsCandidateSourceFactory': 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
b
Hi @fresh-evening-65356 - We've seen this in older version of ebean library (we just upgraded) when it's unable to establish a successful connection to MySQL
Hopefully this helps point you int he right direction!
f
@big-carpet-38439 Hey, sorry for the late response, for some reason slack didn't notify me. I am deploying v0.8.43 of that datahub-gms module. I believe this is the latest. Is this a known bug with this version as well?
b
This is not a known bug per say, it's just the logging that is bad. Basically GMS is not able to connect to the MySQL instance you've set up it appears
f
Copy code
19:20:15.259 [main] WARN  o.s.w.c.s.XmlWebApplicationContext:591 - Exception encountered during context initialization - cancelling refresh attempt: 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
ANTLR Tool version 4.5 used for code generation does not match the current runtime version 4.8ANTLR Runtime version 4.5 used for parser compilation does not match the current runtime version 4.8ANTLR Tool version 4.5 used for code generation does not match the current runtime version 4.8ANTLR Runtime version 4.5 used for parser compilation does not match the current runtime version 4.8Aug 09, 2022 7:20:15 PM org.neo4j.driver.internal.logging.JULogger info
☝️ This was the previous error