breezy-camera-11182
01/05/2022, 4:49 AM_03:58:27.120_ [main] WARN o.s.w.c.s.XmlWebApplicationContext:558 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'authorizationManagerFactory': 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.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
when running datahub-gms in minikube. i followed the deployment guide from https://datahubproject.io/docs/deploy/kubernetes and only change the mysql to my local mysql with these configuration (datahub-helm/charts/prerequisites/values.yaml
)
sql:
datasource:
host: "host.minikube.internal:3306"
hostForMysqlClient: "host.minikube.internal"
port: "3306"
url: "jdbc:<mysql://host.minikube.internal:3306/datahub?verifyServerCertificate=false&useSSL=true&useUnicode=yes&characterEncoding=UTF-8&enabledTLSProtocols=TLSv1.2>"
driver: "com.mysql.cj.jdbc.Driver"
username: "datahub"
password:
secretRef: mysql-secrets-datahub
secretKey: mysql-root-password
breezy-camera-11182
01/05/2022, 4:50 AMearly-lamp-41924
01/05/2022, 8:22 AMearly-lamp-41924
01/05/2022, 8:22 AMbreezy-camera-11182
01/05/2022, 8:24 AMbreezy-camera-11182
01/05/2022, 8:33 AMdatahub-helm/charts/datahub/values.yaml
early-lamp-41924
01/05/2022, 8:45 AMearly-lamp-41924
01/05/2022, 8:45 AMbreezy-camera-11182
01/05/2022, 8:52 AMearly-lamp-41924
01/05/2022, 9:53 AMbreezy-camera-11182
01/05/2022, 10:07 AM<jdbc://mysql>
i managed to make it simpler, i think it’s related to my sql installation in my local.big-carpet-38439
01/05/2022, 4:21 PMbreezy-camera-11182
01/06/2022, 1:16 AMjdbc:<mysql://host.minikube.internal:3306/datahub>
it works.big-carpet-38439
01/06/2022, 3:40 PM