Hi guys, did anyone face this error in datahub-dat...
# all-things-deployment
p
Hi guys, did anyone face this error in datahub-datahub-upgrade during the deployment on aws?
Copy code
Error creating bean with name 'upgradeCli': Unsatisfied dependency expressed through field 'noCodeUpgrade'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ebeanServer' defined in class path resource [com/linkedin/gms/factory/entity/EbeanServerFactory.class]: 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
datahub-datahub-gms i also failing
Copy code
ERROR o.s.web.context.ContextLoader:313 - Context initialization failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'mostPopularCandidateSourceFactory': Unsatisfied dependency expressed through field 'entityService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ebeanAspectDao' defined in com.linkedin.gms.factory.entity.EbeanAspectDaoFactory: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.linkedin.metadata.entity.ebean.EbeanAspectDao]: Factory method 'createInstance' threw exception; 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
e
Hi @prehistoric-salesclerk-23462 can you share the command that you ran when deploying?
p
@echoing-airport-49548 these are the commands.
Copy code
helm install prerequisites datahub/datahub-prerequisites --values datahub-helm/charts/prerequisites/values.yaml

helm upgrade datahub datahub/datahub --values datahub-helm/charts/datahub/values.yaml --debug
e
Hey could you check whether mysql-setup-job ran correctly? The above error comes up usually when the database and metadata_aspect_v2 table has not been constructed
p
Thanks guys 🙂 .The issue is fixed after adding
&enabledTLSProtocols=TLSv1.2
in the sql url.
e
Glad to hear it @prehistoric-salesclerk-23462!
125 Views