Hello everyone, can you please advice me about the...
# troubleshoot
m
Hello everyone, can you please advice me about the following problem? When I start DataHub via the quickstart command
datahub docker quickstart
I can successfully start it on a Ubuntu EC2 instance from AWS. However, when I do it like this DataHub will be started with the root user "datahub datahub" for the frontend. This is not very secure. Therefore I want to change the docker-compose.yml file at datahub/quickstart to add a volume for the datahub-frontend/conf folder in the datahub-frontend-react container. This way I can change the user.props file once and it will be used whenever DataHub is restarted. I successfully changed the .yml file but when I run
docker compose up
the broker container always exits and interrupts the startup.
dependency failed to start: container broker exited (1)
I checked the log to see what the issue is:
kafka.common.InconsistentClusterIdException: The Cluster ID b6cE4L94QtOEZYqg09wdYg doesn't match stored clusterId Some(n9TOunRIRL2gkIzUX9WiCg) in meta.properties. The broker is trying to join the wrong cluster. Configured zookeeper.connect may be wrong.
Is there a known way how I can make sure that the kafka Cluster ID matches the one that is stored?
b
i would delete the broker/zookeeper volume whenever this error msg happens (no data is lost if you delete those 2 volumes), then try
up
again
m
@better-orange-49102 Thanks a lot for your recommendation. Worked like a charm. However I recommend not using the
datahub docker nuke
command to get rid of the volumes. That deletes the data you actually wanted to keep 😅
b
Yup, I normally use docker commands to delete the specific volumes away