Hi All, my `datahub-datahub-gms` pod is failing wi...
# all-things-deployment
h
Hi All, my
datahub-datahub-gms
pod is failing with following error:
Copy code
15:38:00.026 [main] ERROR o.s.web.context.ContextLoader:313 - Context initialization failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'dataHubAuthorizerFactory': Unsatisfied dependency expressed through field 'entityClient'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'javaEntityClientFactory': 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
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:659)
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:639)
	at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119)
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1431)
We are using AWS managed ES, MSK and RDS postgres instance for my datahub setup and i see following connection messages in gms pod so the connectivity between RDS looks fine Also, my postgres setup job was completed without any issue. Can someone help on this ?
Copy code
2022/06/20 15:35:40 Waiting for: <https://xxxxxxxxxxxxxxxxx.es.amazonaws.com:443>
2022/06/20 15:35:40 Waiting for: <tcp://xxxxxxxxxxxxx.rds.amazonaws.com:5432>
2022/06/20 15:35:40 Waiting for: <tcp://xxxxxxx.amazonaws.com:9096>
2022/06/20 15:35:40 Waiting for: <tcp://xxxxxxxxx.us-west-2.amazonaws.com:9096>
2022/06/20 15:35:40 Waiting for: <tcp://xxxxxxxxx.us-west-2.amazonaws.com:9096>
2022/06/20 15:35:45 Connected to <tcp://xxxxxxxxx.us-west-2.amazonaws.com:9096>
2022/06/20 15:35:45 Connected to <tcp://xxxxxxxx.us-west-2.amazonaws.com:9096>
2022/06/20 15:35:45 Connected to <tcp://xxxxxxxxxxxx.us-west-2.amazonaws.com:9096>
2022/06/20 15:35:45 Connected to <tcp://xxxxxxxxxxxx.rds.amazonaws.com:5432>
2022/06/20 15:35:45 Received 200 from <https://xxxxxxxxxx.us-west-2.es.amazonaws.com:443>
i
Hello Kishore, Did you follow this guide: https://datahubproject.io/docs/deploy/aws ? How are you deploying DataHub and with what version? Did you deploy the setup jobs too?
h
yes @incalculable-ocean-74010 I followed those steps.
i
This stack trace is usually given when the sql setup job does not finish successfully. The job may have connected to the DB but did it execute fully? Also what engine are you using for RDS in AWS? We recommend AuroraMySQL and running the
mysql-setup-job
not the
postgres-setup-job
from our helm charts.
c
Hi @helpful-processor-71693 I am trying to setup the same way in AWS, Is it possible to share your docker compose file?