:wave: Hello, team! Getting supposedly an infinite...
# troubleshoot
b
👋 Hello, team! Getting supposedly an infinite run with the message -
Copy code
yaml: unmarshal errors:
 line 123: mapping key "labels" already defined at line 98
 line 157: mapping key "labels" already defined at line 146
 line 172: mapping key "labels" already defined at line 160
 line 203: mapping key "labels" already defined at line 190
After running the command -
python3 -m datahub docker quickstart
Versions I am running -
DataHub CLI version: 0.10.1.1
Python version: 3.9.6 (default, Mar 10 2023, 20:16:38)
[Clang 14.0.3 (clang-1403.0.22.14.1)]
Deployment method - Docker
🔍 1
📖 1
✅ 1
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: ✅ There's a lot of good information on our docs site: www.datahubproject.io/docs, Have you searched there for a solution? ✅ It's not uncommon that someone has run into your exact problem before in the community. Have you searched Slack for similar issues? Did you find a solution to your issue? ❌ Sorry you weren't able to find a solution. I'm sending you some tips on info you can provide to help the community troubleshoot. Whenever you feel your issue is solved, please react ✅ to your original message to let us know!
a
Do you have data already ingested? It may be prudent to
datahub docker nuke
and/or prune docker
CC: @dazzling-yak-93039
d
Hi @brave-room-48783, are you still facing this issue?
b
No, its fixed now. Thanks
e
@astonishing-answer-96712 @dazzling-yak-93039 👋 Can you help me resolve the same issue:
Copy code
(venv) pavelborshchenko@MacBook-Pro-8 scribd-datahub (pborshchenko/v0.10.2) $ datahub docker quickstart --arch m1
Detected M1 machine
Using architecture Architectures.m1
[2023-04-24 19:13:31,613] INFO     {datahub.cli.quickstart_versioning:144} - Saved quickstart config to /Users/pavelborshchenko/.datahub/quickstart/quickstart_version_mapping.yaml.
[2023-04-24 19:13:31,615] INFO     {datahub.cli.docker_cli:638} - Using quickstart plan: composefile_git_ref='master' docker_tag='head'
[2023-04-24 19:13:31,697] INFO     {datahub.cli.docker_cli:656} - compose file name /Users/pavelborshchenko/.datahub/quickstart/docker-compose.yml
[2023-04-24 19:13:31,727] INFO     {datahub.cli.docker_cli:840} - Fetching docker-compose file https://raw.githubusercontent.com/datahub-project/datahub/master/docker/quickstart/docker-compose-without-neo4j-m1.quickstart.yml from GitHub

Pulling docker images... 
This may take a while depending on your network bandwidth.
yaml: unmarshal errors:
  line 123: mapping key "labels" already defined at line 98
  line 157: mapping key "labels" already defined at line 146
  line 172: mapping key "labels" already defined at line 160
  line 203: mapping key "labels" already defined at line 190
Error while pulling images. Going to attempt to move on to docker compose up assuming the images have been built locally

Starting up DataHub...
yaml: unmarshal errors:
  line 123: mapping key "labels" already defined at line 98
  line 157: mapping key "labels" already defined at line 146
  line 172: mapping key "labels" already defined at line 160
  line 203: mapping key "labels" already defined at line 190
I run it on
v0.10.2
version and
M1
environment,
datahub docker nuke
and/or prune docker didn't help me. Any suggestions?
s
Hi, I'm running into this issue as well on DataHub CLI version: 0.10.2.1 Python version: 3.9.6 Anyone found a fix for this?
e
I found a workaround: for m1 you need to change docker-compose-without-neo4j.quickstart.yml and replace mysql image with image: mariadb:10.5.8 and then run
python3 -m datahub docker quickstart --version v0.10.2 --quickstart-compose-file ./docker/quickstart/docker-compose-without-neo4j.quickstart.yml
Or you can drop all
Copy code
labels:
  datahub_setup_job: true
from docker-compose-without-neo4j-m1.quickstart.yml
and run
python3 -m datahub docker quickstart --version v0.10.2 --quickstart-compose-file ./docker/quickstart/docker-compose-without-neo4j-m1.quickstart.yml