hi,team. when i run command `docker pull acryldat...
# all-things-deployment
c
hi,team. when i run command
docker pull acryldata/datahub-upgrade:head && docker run --env-file /Users/work/docker.env acryldata/datahub-upgrade:head -u NoCodeDataMigration
Wrong prompt
ERROR SpringApplication Application run failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'upgradeCli': Unsatisfied dependency expressed through field 'noCodeUpgrade'; 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 class path resource [com/linkedin/gms/factory/entityregistry/ConfigEntityRegistryFactory.class]: Bean instantiation via factory method failed; nested 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 such file or directory)
l
Hey there 👋 I'm The DataHub Community Support bot. I'm here to help make sure the community can best support you with your request. Let's double check a few things first: 1️⃣ There's a lot of good information on our docs site: www.datahubproject.io/docs, Have you searched there for a solution? 2️⃣ It's not uncommon that someone has run into your exact problem before in the community. Have you searched Slack for similar issues?
a
Hi, what version- have you built all before running, and does the indicated
entity-registry.yml
exist?
c
@astonishing-answer-96712 thank you ,i directly run command
docker pull acryldata/datahub-upgrade:head && docker run --env-file /Users/work/docker.env acryldata/datahub-upgrade:head -u NoCodeDataMigration
how to built it,What steps should I follow to do it
@astonishing-answer-96712 hi my docker image
acryldata/datahub-upgrade       head   4c8b1342544e  37 hours ago  463MB
env file refers to https://github.com/datahub-project/datahub/blob/b87e4c312a137561535a45d5f939e4ea1b2564be/docker/datahub-upgrade/env/docker.env#L12-L14
ENTITY_REGISTRY_CONFIG_PATH=/Users/project/datahub/metadata-models/src/main/resources/entity-registry.yml
when i run command ,it prompts error
Caused by: java.io.FileNotFoundException: /Users/project/datahub/metadata-models/src/main/resources/entity-registry.yml (No such file or directory)
but when i cat file path,it exist
a
c
@astonishing-answer-96712 thankyou,I followed the steps, but still prompted that the file does not exist。 when i run command ,it prompts error `Caused by: java.io.FileNotFoundException: /Users/project/datahub/metadata-models/src/main/resources/entity-registry.yml (No such file or directory)`but when i cat file path,it exist
a
did you rebuild the project/container after adding the file?