microscopic-lizard-81562
06/01/2023, 7:20 AMdatahub 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?better-orange-49102
06/01/2023, 9:51 AMup
againmicroscopic-lizard-81562
06/02/2023, 5:05 AMdatahub docker nuke
command to get rid of the volumes. That deletes the data you actually wanted to keep 😅better-orange-49102
06/02/2023, 5:53 AM