microscopic-mechanic-13766
06/28/2022, 11:28 AMGRAPH_SERVICE_IMPL=elasticsearch
, I think it doesn't work correctly as in the following error log some lines containing Neo4j can be seen. That is not the only problem, but I have no clue what the rest of the errors' cause. Could someone help me narrow it down??microscopic-mechanic-13766
06/28/2022, 11:29 AMorange-night-91387
06/28/2022, 8:47 PMmicroscopic-mechanic-13766
06/29/2022, 8:41 AMmicroscopic-mechanic-13766
06/29/2022, 8:41 AMError creating bean with name 'javaEntityClientFactory': Unsatisfied dependency expressed through field '_entityService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'ebeanAspectDao' defined in com.linkedin.gms.factory.entity.EbeanAspectDaoFactory: Unsatisfied dependency expressed through method 'createInstance' 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
microscopic-mechanic-13766
06/29/2022, 10:22 AM- EBEAN_DATASOURCE_USERNAME=datahub
- EBEAN_DATASOURCE_HOST=dh-postgresql:5432
- EBEAN_DATASOURCE_URL=jdbc:<postgresql://dh-postgresql:5432/datahubdb?verifyServerCertificate=false&useSSL=true&useUnicode=yes&characterEncoding=UTF-8>
- EBEAN_DATASOURCE_DRIVER=org.postgresql.Driver
orange-night-91387
06/29/2022, 3:01 PMmicroscopic-mechanic-13766
06/29/2022, 3:26 PMorange-night-91387
06/29/2022, 4:17 PMdatahubdb
default should just be datahubmicroscopic-mechanic-13766
06/29/2022, 4:22 PMorange-night-91387
06/29/2022, 5:46 PMdh-postgresql
? Have you ever been able to bring DataHub up with this postgres DB configured or is this a first time deploy with it?microscopic-mechanic-13766
06/29/2022, 7:53 PMmicroscopic-mechanic-13766
06/30/2022, 7:52 AMConnected to <tcp://datahub-postgresql:5432>
Doesn't this indicate that DH is able to connect to the DB?
Another thing that can be seen previous to the errors in the log is the following:
INFO i.e.d.pool.PooledConnectionQueue:405 - Reseting DataSourcePool [gmsEbeanServiceConfig] min[2] max[50] free[0] busy[0] waiting[0] highWaterMark[0] waitCount[0] hitCount[0]
INFO i.e.d.pool.PooledConnectionQueue:411 - Busy Connections:
After "Busy Connections" nothing is printed but the errorsmicroscopic-mechanic-13766
06/30/2022, 9:02 AM- EBEAN_DATASOURCE_URL=jdbc:<postgresql://datahub-postgresql:5432/datahubdb?verifyServerCertificate=false&useSSL=true&useUnicode=yes&characterEncoding=UTF-8&enabledTLSProtocols=TLSv1.2>
- EBEAN_DATASOURCE_DRIVER=org.postgresql.Driver
Because no matter if they are commented or not, I get the same error; so by an unknown reason I think datahub is not taking correctly this configurationmicroscopic-mechanic-13766
07/01/2022, 7:20 AMchown -R 70:root
to said directories, the problem was solved and I was able to run DH.
Thanks for the help!average-holiday-92911
08/10/2022, 2:57 PMmicroscopic-mechanic-13766
08/10/2022, 3:32 PMaverage-holiday-92911
08/10/2022, 3:34 PM