rhythmic-london-44496
08/23/2021, 10:59 AMv0.8.10
) on Kubernetes using https://github.com/acryldata/datahub-helm/tree/master/charts/datahub
But both GMS
and upgrade-job
pods have troubles running -> they both log errors showing that the main process cannot find entity-registry.yml
file, e.g.:
10:46:49.006 [main] ERROR o.s.web.context.ContextLoader - Context initialization failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'metadataAuditEventsProcessor' defined in URL [jar:file:/tmp/jetty-0_0_0_0-8080-war_war-_-any-1391980781119123614.dir/webapp/WEB-INF/lib/mae-consumer.jar!/com/linkedin/metadata/kafka/MetadataAuditEventsProcessor.class]: Uns
atisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'searchServiceFactory': Unsatisfied dependency expressed through field 'elasticSearchService'; nested exception is org.springframework.beans
.factory.UnsatisfiedDependencyException: Error creating bean with name 'elasticSearchServiceFactory': Unsatisfied dependency expressed through field 'entityRegistry'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'entityRegistryFactory': Unsatisfied
dependency expressed through field 'configEntityRegistry'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'configEntityRegistry' defined in com.linkedin.gms.factory.entityregistry.ConfigEntityRegistryFactory: Bean instantiation via factory method failed; nes
ted exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.linkedin.metadata.models.registry.ConfigEntityRegistry]: Factory method 'getInstance' threw exception; nested exception is java.io.FileNotFoundException: ../../metadata-models/src/main/resources/entity-registry.yml (No su
ch file or directory)
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:798)
(...)
Caused by:
org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.linkedin.metadata.models.registry.ConfigEntityRegistry]: Factory method 'getInstance' threw exception; nested exception is java.io.FileNotFoundException: ../../metadata-models/src/main/resources/entity-registry.yml (No such file or direct
ory)
Are published images broken and we should maintain our own builds?polite-flower-25924
08/23/2021, 12:32 PMrhythmic-london-44496
08/23/2021, 12:33 PMelasticsearch-master-0 1/1 Running 0
elasticsearch-master-1 1/1 Running 0
elasticsearch-master-2 1/1 Running 0
datahub-elasticsearch-setup-job-9vt7p 0/1 Completed 0 113m
polite-flower-25924
08/23/2021, 12:48 PMENTITY_REGISTRY_CONFIG_PATH
environment variable in your pod ?polite-flower-25924
08/23/2021, 12:49 PM- name: ENTITY_REGISTRY_CONFIG_PATH
value: /datahub/datahub-gms/resources/entity-registry.yml
polite-flower-25924
08/23/2021, 12:49 PMlinkedin/datahub-gms:v0.8.10
polite-flower-25924
08/23/2021, 12:50 PMkubectl edit deploy datahub-datahub-gms
rhythmic-london-44496
08/23/2021, 12:52 PMcharts/datahub/subcharts/datahub-gms/templates/deployment.yaml
?polite-flower-25924
08/23/2021, 1:03 PMhelm upgrade datahub datahub/datahub --version 0.8.10
rhythmic-london-44496
08/23/2021, 1:11 PMhelm install datahub datahub/datahub --values charts/datahub/quickstart-values.yaml
and it didn't work.
But you are right, it was about the variable 🙏early-lamp-41924
08/24/2021, 3:21 AMhelm repo remove datahub
and then readding it! Seems like it’s not picking up the latest subchartsrhythmic-london-44496
08/24/2021, 8:12 AM