:wave: Hello! I've been running into this error fo...
# troubleshoot
c
šŸ‘‹ Hello! I've been running into this error for a while and it's blocking my development šŸ˜•
Copy code
ANTLR Tool version 4.5 used for code generation does not match the current runtime version 4.8ANTLR Runtime version 4.5 used for parser compilation does not match the current runtime version 4.8ANTLR Tool version 4.5 used for code generation does not match the current runtime version 4.8ANTLR Runtime version 4.5 used for parser compilation does not match the current runtime version 4.82023/03/20 18:54:37 Command exited with error: exit status 1
when I am trying to replace datahub-gms container with local code:
Copy code
(cd docker && COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker-compose -p datahub -f docker-compose-without-neo4j.yml -f docker-compose-without-neo4j.override.yml -f docker-compose.dev.yml up -d --no-deps --force-recreate datahub-gms)
Any recommendations? I've tried looking through other threads but have not found anything useful
a
Hi @calm-balloon-31412, I’m so sorry you are still running into this šŸ˜ž @orange-night-91387 do you have any tips here?
o
The ANTLR error is usually a red herring, I would imagine there is something else happening here preventing it from starting. If there is more output, please post it. You can also try using one of the dev scripts (located in the docker folder) or using
./gradlew quickstart
c
When I run
./gradlew quickstart
, I fail with
Copy code
Task 'quickstart' not found in root project 'datahub'.
so I've been using
datahub docker quickstart --build-locally
instead
these are the container logs for gms, the container terminated almost immediately after running the command to replace with my local version
o
There's a schema registry error, have you made incompatible modifications to the model?
Copy code
Caught exception while executing bootstrap step IngestPoliciesStep. Exiting...
org.apache.kafka.common.errors.SerializationException: Error registering Avro schema:
...
When I run
./gradlew quickstart
, I fail with
Copy code
Task 'quickstart' not found in root project 'datahub'.
so I've been using
datahub docker quickstart --build-locally
instead
^ you're running on a non-rebased fork then, unfortunately we can't really assist much with divergent codebases we don't have full transparency into
c
I see, it's strange because I haven't made any changes other than update docker which is when this all started to break
and it was all working fine before. I had to update docker, which resulted in some permission errors I was running into. After bypassing those, this is the last error
Is there any chance it's due to something else?
Wouldn't this step fail if there was some issue with the metadata model?
./gradlew :metadata-service:war:build
o
It would depend on what the changes were, when you updated docker did you nuke the previous install? If not I would try that. It's possible there are some weird volume holdover issues on the schema registry container or something after you updated your docker version.
c
I tried to nuke with
datahub docker nuke
and also tried
docker system prune --all
and neither worked šŸ˜•
I'm just going to reinstall docker and try again lolsob