question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Build datahub-gms failed

See original GitHub issue

Firstly, I succeed in starting project using datahub docker quickstart --build-locally , output as follows:

datahub-gms is up-to-date
Starting mysql-setup         ... 
schema-registry is up-to-date
Starting elasticsearch-setup ... done
Starting mysql-setup         ... done
Starting kafka-setup         ... done
........
✔ DataHub is now running
Ingest some demo data using `datahub docker ingest-sample-data`,
or head to http://localhost:9002 (username: datahub, password: datahub) to play around with the frontend.
Need support? Get in touch on Slack: https://slack.datahubproject.io/
(venv) [root@centos7 smoke-test]# docker ps -a
CONTAINER ID        IMAGE                                       COMMAND                  CREATED             STATUS                     PORTS                                              NAMES
9c634a54559d        linkedin/datahub-kafka-setup:head           "/bin/sh -c ./kafk..."   4 minutes ago       Exited (0) 2 minutes ago                                                      kafka-setup
179088f1d2f9        confluentinc/cp-schema-registry:5.4.0       "/etc/confluent/do..."   4 minutes ago       Up 4 minutes               0.0.0.0:8081->8081/tcp                             schema-registry
3d0f2f6421be        confluentinc/cp-kafka:5.4.0                 "/etc/confluent/do..."   4 minutes ago       Up 4 minutes               0.0.0.0:9092->9092/tcp, 0.0.0.0:29092->29092/tcp   broker
1a7e972ca910        linkedin/datahub-elasticsearch-setup:head   "/bin/sh -c 'if [ ..."   4 minutes ago       Exited (0) 2 minutes ago                                                      elasticsearch-setup
a3c3b5a5592d        linkedin/datahub-frontend-react:head        "datahub-frontend/..."   4 minutes ago       Up 4 minutes (healthy)     0.0.0.0:9002->9002/tcp                             datahub-frontend-react
29b00faf02df        acryldata/acryl-datahub-actions:head        "/bin/sh -c 'docke..."   4 minutes ago       Up 4 minutes                                                                  datahub_datahub-actions_1
add51808d6fb        linkedin/datahub-gms:head                   "/bin/sh -c /datah..."   4 minutes ago       Up 4 minutes (healthy)     0.0.0.0:8080->8080/tcp                             datahub-gms
4012a8b94e06        acryldata/datahub-mysql-setup:head          "/bin/sh -c 'docke..."   4 minutes ago       Exited (0) 2 minutes ago                                                      mysql-setup
ec8a8105c78e        confluentinc/cp-zookeeper:5.4.0             "/etc/confluent/do..."   4 minutes ago       Up 4 minutes               2888/tcp, 0.0.0.0:2181->2181/tcp, 3888/tcp         zookeeper
1b24cbc307c3        elasticsearch:7.9.3                         "/tini -- /usr/loc..."   4 minutes ago       Up 4 minutes (healthy)     0.0.0.0:9200->9200/tcp, 9300/tcp                   elasticsearch
60d76ab5ad50        mysql:5.7                                   "docker-entrypoint..."   4 minutes ago       Up 3 minutes               0.0.0.0:3306->3306/tcp, 33060/tcp                  mysql

However, I failed to start gms container by using (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), output as follows:

[root@centos7 datahub]# docker -v
Docker version 1.13.1, build 7d71120/1.13.1
[root@centos7 datahub]# docker-compose -v
docker-compose version 1.29.2, build 5becea4c
[root@centos7 datahub]# (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)
Building datahub-gms
unknown flag: --iidfile
See 'docker build --help'.
ERROR: Service 'datahub-gms' failed to build : Build failed

Thanks for your help.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8

github_iconTop GitHub Comments

2reactions
ddsr-opscommented, May 17, 2022

I referenced https://github.com/datahub-project/datahub/issues/2020 to cover it. Docker version is 1.13.1, and docker-compose version is 1.27.4.

0reactions
ddsr-opscommented, May 13, 2022

Have you followed the docker instructions for installing on CentOS here?: https://docs.docker.com/engine/install/centos/ Or how has docker been installed on the machine?

I will try to reinstall docker following https://docs.docker.com/engine/install/centos/. Thank you .

Read more comments on GitHub >

github_iconTop Results From Across the Web

Debugging Guide - DataHub
My elasticsearch or broker container exited with error or was stuck forever​. If you're seeing errors like below, chances are you didn't give...
Read more >
Local Development - DataHub
Build Datahub's backend GMS (Generalized metadata service): ... :metadata-models:generateDataTemplate task fails with java.nio.file.
Read more >
metadata-service - DataHub
DataHub Metadata Service (Also known as GMS) ... DataHub Metadata Service is a service written in Java consisting of multiple servlets: A public...
Read more >
Using Docker Images During Development - DataHub
Normally, you'd rebuild your images from scratch with docker-compose build (or docker-compose up --build ). However, this takes way too long for development....
Read more >
DataHub Quickstart Guide
Make sure to allocate enough hardware resources for Docker engine. ... -m pip uninstall datahub acryl-datahub || true # sanity check - ok...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found