bright-motherboard-35257
10/06/2022, 12:29 AMError creating bean with name 'ebeanServer' defined in com.linkedin.gms.factory.entity.EbeanServerFactoryI am running MySQL and
mysql-setup ran without issues so seems connection is fine from that operation. Using same credentials for datahub-gms . Anyone have ideas?echoing-airport-49548
10/06/2022, 12:30 AMechoing-airport-49548
10/06/2022, 12:30 AMechoing-airport-49548
10/06/2022, 12:34 AMbright-motherboard-35257
10/06/2022, 12:36 AMversion: '3'
networks:
default:
name: datahub_network
services:
datahub-actions:
depends_on:
- datahub-gms
environment:
- DATAHUB_GMS_HOST=datahub-gms
- DATAHUB_GMS_PORT=8080
- KAFKA_BOOTSTRAP_SERVER=172.30.231.2:9092
- SCHEMA_REGISTRY_URL=http://172.30.231.2:8081
- METADATA_AUDIT_EVENT_NAME=MetadataAuditEvent_v4
- METADATA_CHANGE_LOG_VERSIONED_TOPIC_NAME=MetadataChangeLog_Versioned_v1
- DATAHUB_SYSTEM_CLIENT_ID=__datahub_system
- DATAHUB_SYSTEM_CLIENT_SECRET=JohnSnowKnowsNothing
- KAFKA_PROPERTIES_SECURITY_PROTOCOL=PLAINTEXT
hostname: actions
image: acryldata/datahub-actions:${ACTIONS_VERSION:-head}
restart: on-failure:5
datahub-frontend-react:
container_name: datahub-frontend-react
depends_on:
- datahub-gms
environment:
- DATAHUB_GMS_HOST=datahub-gms
- DATAHUB_GMS_PORT=8080
- DATAHUB_SECRET=YouKnowNothing
- DATAHUB_APP_VERSION=1.0
- DATAHUB_PLAY_MEM_BUFFER_SIZE=10MB
- JAVA_OPTS=-Xms512m -Xmx512m -Dhttp.port=9002 -Dconfig.file=datahub-frontend/conf/application.conf
-Djava.security.auth.login.config=datahub-frontend/conf/jaas.conf -Dlogback.configurationFile=datahub-frontend/conf/logback.xml
-Dlogback.debug=false -Dpidfile.path=/dev/null
- KAFKA_BOOTSTRAP_SERVER=172.30.231.2:9092
- DATAHUB_TRACKING_TOPIC=DataHubUsageEvent_v1
- ELASTIC_CLIENT_HOST=172.30.231.2
- ELASTIC_CLIENT_PORT=9200
hostname: datahub-frontend-react
image: ${DATAHUB_FRONTEND_IMAGE linkedin/datahub frontend react}${DATAHUB_VERSION:-head}
ports:
- ${DATAHUB_MAPPED_FRONTEND_PORT 9002}9002
volumes:
- ${HOME}/.datahub/plugins:/etc/datahub/plugins
datahub-gms:
container_name: datahub-gms
environment:
- DATAHUB_SERVER_TYPE=${DATAHUB_SERVER_TYPE:-quickstart}
- DATAHUB_TELEMETRY_ENABLED=${DATAHUB_TELEMETRY_ENABLED:-true}
- DATASET_ENABLE_SCSI=false
- EBEAN_DATASOURCE_USERNAME=datahub
- EBEAN_DATASOURCE_PASSWORD=Datahub@2022
- EBEAN_DATASOURCE_HOST=172.30.231.2:3306
- EBEAN_DATASOURCE_URL=jdbc:mysql://172.30.231.2:3306/datahub?verifyServerCertificate=false&useSSL=true&useUnicode=yes&characterEncoding=UTF-8&enabledTLSProtocols=TLSv1.2
- EBEAN_DATASOURCE_DRIVER=com.mysql.jdbc.Driver
- KAFKA_BOOTSTRAP_SERVER=172.30.231.2:9092
- KAFKA_SCHEMAREGISTRY_URL=http://172.30.231.2:8081
- ELASTICSEARCH_HOST=172.30.231.2
- ELASTICSEARCH_PORT=9200
- NEO4J_HOST=http://neo4j:7474
- NEO4J_URI=bolt://neo4j
- NEO4J_USERNAME=neo4j
- NEO4J_PASSWORD=datahub
- JAVA_OPTS=-Xms1g -Xmx1g
- GRAPH_SERVICE_IMPL=neo4j
- ENTITY_REGISTRY_CONFIG_PATH=/datahub/datahub-gms/resources/entity-registry.yml
- ENTITY_SERVICE_ENABLE_RETENTION=true
- MAE_CONSUMER_ENABLED=true
- MCE_CONSUMER_ENABLED=true
- PE_CONSUMER_ENABLED=true
- UI_INGESTION_ENABLED=true
hostname: datahub-gms
image: ${DATAHUB_GMS_IMAGE linkedin/datahub gms}${DATAHUB_VERSION:-head}
ports:
- ${DATAHUB_MAPPED_GMS_PORT 8080}8080
volumes:
- ${HOME}/.datahub/plugins/:/etc/datahub/plugins
- ${HOME}/.datahub/plugins/auth/resources/:/etc/datahub/plugins/auth/resources
elasticsearch-setup:
container_name: elasticsearch-setup
depends_on:
- elasticsearch-rpa
environment:
- ELASTICSEARCH_HOST=172.30.231.2
- ELASTICSEARCH_PORT=9200
- ELASTICSEARCH_PROTOCOL=http
hostname: elasticsearch-setup
image: ${DATAHUB_ELASTIC_SETUP_IMAGE linkedin/datahub elasticsearch setup}${DATAHUB_VERSION:-head}
kafka-setup:
container_name: kafka-setup
depends_on:
- broker
- schema-registry
environment:
- KAFKA_ZOOKEEPER_CONNECT=172.30.231.2:2181
- KAFKA_BOOTSTRAP_SERVER=172.30.231.2:9092
hostname: kafka-setup
image: ${DATAHUB_KAFKA_SETUP_IMAGE linkedin/datahub kafka setup}${DATAHUB_VERSION:-head}
mysql-setup:
container_name: mysql-setup
environment:
- MYSQL_HOST=172.30.231.2
- MYSQL_PORT=3306
- MYSQL_USERNAME=datahub
- MYSQL_PASSWORD=Datahub@2022
- DATAHUB_DB_NAME=datahub
hostname: mysql-setup
image: acryldata/datahub-mysql-setup:${DATAHUB_VERSION:-head}
neo4j:
container_name: neo4j
environment:
- NEO4J_AUTH=neo4j/datahub
- NEO4J_dbms_default__database=graph.db
- NEO4J_dbms_allow__upgrade=true
hostname: neo4j
image: neo4j:4.4.9-community
ports:
- ${DATAHUB_MAPPED_NEO4J_HTTP_PORT 7474}7474
- ${DATAHUB_MAPPED_NEO4J_BOLT_PORT 7687}7687
volumes:
- neo4jdata:/data
volumes:
neo4jdata: null
echoing-airport-49548
10/06/2022, 1:08 AMmicroscopic-mechanic-13766
10/06/2022, 8:05 AM[main] INFO o.a.k.c.consumer.ConsumerConfig:347 - ConsumerConfig values:
INFO o.a.kafka.common.utils.AppInfoParser:117 - Kafka version:
If you don't see them it is probably cause some problem with Kafka, either that it is not able to connect properly or Kafka is down, etc.bright-motherboard-35257
10/06/2022, 10:06 AMkafka-setup container runs it connects and I see the message and topic activity it performs in Kafka. My Kafka instance is actively running for other applications (not just Datahub).microscopic-mechanic-13766
10/06/2022, 10:17 AMbright-motherboard-35257
10/11/2022, 7:33 PMdatahub_network network (e.g.- kafka-setup ) that connects to the same Kafka address and creates the topics successfully; but datahub-gms container cannot. 🤔bright-motherboard-35257
10/11/2022, 8:23 PMKAFKA_BOOTSTRAP_SERVER from the former address 172.30.231.2:9092 to broker:9092 which is what the Kafka container network has for the hostname. Now I get this new error in the logs which leads me to believe it was connecting with prior setting so perhaps the error is not related to connecting to Kafka.
```2022/10/11 201722 Problem with dial: dial tcp: lookup broker on 127.0.0.1153 server misbehaving. Sleeping 1s
2022/10/11 201723 Problem with dial: dial tcp: lookup broker on 127.0.0.1153 server misbehaving. Sleeping 1s
2022/10/11 201724 Problem with dial: dial tcp: lookup broker on 127.0.0.1153 server misbehaving. Sleeping 1s
2022/10/11 201725 Problem with dial: dial tcp: lookup broker on 127.0.0.1153 server misbehaving. Sleeping 1s
2022/10/11 201727 Problem with dial: dial tcp: lookup broker on 127.0.0.1153 server misbehaving. Sleeping 1s
2022/10/11 201728 Problem with dial: dial tcp: lookup broker on 127.0.0.1153 server misbehaving. Sleeping 1s```
microscopic-mechanic-13766
10/13/2022, 7:02 AMbroker:29092 , as it is the one specified in the property KAFKA_ADVERTISED_LISTENERSmicroscopic-mechanic-13766
10/13/2022, 7:04 AMbright-motherboard-35257
10/13/2022, 2:42 PMKAFKA_ADVERTISED_LISTENERS to be set? Under the datahub-gms environment variables? I do not have that in my docker compose at all and wonder if this is the issue.bright-motherboard-35257
10/13/2022, 2:47 PMKAFKA_ADVERTISED_LISTENERS: <PLAINTEXT://broker:29092>,PLAINTEXT_<HOST://localhost:9092>
I do have datahub-gms set as KAFKA_BOOTSTRAP_SERVER=broker:29092
which produces the errors noted earlier:
```2022/10/11 201722 Problem with dial: dial tcp: lookup broker on 127.0.0.1153 server misbehaving. Sleeping 1s
2022/10/11 201723 Problem with dial: dial tcp: lookup broker on 127.0.0.1153 server misbehaving. Sleeping 1s
2022/10/11 201724 Problem with dial: dial tcp: lookup broker on 127.0.0.1153 server misbehaving. Sleeping 1s
2022/10/11 201725 Problem with dial: dial tcp: lookup broker on 127.0.0.1153 server misbehaving. Sleeping 1s
2022/10/11 201727 Problem with dial: dial tcp: lookup broker on 127.0.0.1153 server misbehaving. Sleeping 1s
2022/10/11 201728 Problem with dial: dial tcp: lookup broker on 127.0.0.1153 server misbehaving. Sleeping 1s```
microscopic-mechanic-13766
10/13/2022, 3:29 PMbright-motherboard-35257
10/13/2022, 5:10 PMelasticsearch-setup
```2022/10/13 170604 Waiting for: http://172.30.231.2:9200
2022/10/13 170604 Received 200 from http://172.30.231.2:9200
going to use protocol: http
going to use default elastic headers
not using any prefix
datahub_analytics_enabled: true
>>> GET _ilm/policy/datahub_usage_event_policy response code is 200
>>> _ilm/policy/datahub_usage_event_policy already exists ✓
>>> GET _index_template/datahub_usage_event_index_template response code is 200
>>> _index_template/datahub_usage_event_index_template already exists ✓
2022/10/13 170604 Command finished successfully. ```
mysql-setup
```-- only add default records if metadata_aspect is empty
INSERT INTO metadata_aspect_v2
SELECT * FROM temp_metadata_aspect_v2
WHERE NOT EXISTS (SELECT * from metadata_aspect_v2);
DROP TABLE temp_metadata_aspect_v2;
-- create metadata index table
CREATE TABLE IF NOT EXISTS metadata_index (
BIGINT NOT NULL AUTO_INCREMENT,id
VARCHAR(200) NOT NULL,urn
VARCHAR(150) NOT NULL,aspect
VARCHAR(150) NOT NULL,path
BIGINT,longVal
VARCHAR(200),stringVal
DOUBLE,doubleVal
CONSTRAINT id_pk PRIMARY KEY (id),
INDEX longIndex (,urn,aspect,path),longVal
INDEX stringIndex (,urn,aspect,path),stringVal
INDEX doubleIndex (,urn,aspect,path)doubleVal
);
2022/10/13 170608 Command finished successfully. ```
kafka-setup
```[main] INFO org.apache.kafka.common.utils.AppInfoParser - Kafka version: 6.1.4-ccs
[main] INFO org.apache.kafka.common.utils.AppInfoParser - Kafka commitId: c9124241a6ff43bc
[main] INFO org.apache.kafka.common.utils.AppInfoParser - Kafka startTimeMs: 1665680782951
WARNING: Due to limitations in metric names, topics with a period ('.') or underscore ('_') could collide. To avoid issues it is best to use either, but not both.
WARNING: Due to limitations in metric names, topics with a period ('.') or underscore ('_') could collide. To avoid issues it is best to use either, but not both.
WARNING: Due to limitations in metric names, topics with a period ('.') or underscore ('_') could collide. To avoid issues it is best to use either, but not both.
WARNING: Due to limitations in metric names, topics with a period ('.') or underscore ('_') could collide. To avoid issues it is best to use either, but not both.
WARNING: Due to limitations in metric names, topics with a period ('.') or underscore ('_') could collide. To avoid issues it is best to use either, but not both.
WARNING: Due to limitations in metric names, topics with a period ('.') or underscore ('_') could collide. To avoid issues it is best to use either, but not both.
WARNING: Due to limitations in metric names, topics with a period ('.') or underscore ('_') could collide. To avoid issues it is best to use either, but not both.
WARNING: Due to limitations in metric names, topics with a period ('.') or underscore ('_') could collide. To avoid issues it is best to use either, but not both.
WARNING: Due to limitations in metric names, topics with a period ('.') or underscore ('_') could collide. To avoid issues it is best to use either, but not both.
Completed updating config for topic _schemas. ```
microscopic-mechanic-13766
10/13/2022, 5:16 PMmicroscopic-mechanic-13766
10/13/2022, 5:21 PMmicroscopic-mechanic-13766
10/13/2022, 5:22 PMbright-motherboard-35257
10/13/2022, 5:34 PMbright-motherboard-35257
10/13/2022, 5:36 PMelasticsearch-setup container this is all it shows to be performed in the logs...
```2022/10/13 173527 Waiting for: http://172.30.231.2:9200
2022/10/13 173527 Received 200 from http://172.30.231.2:9200
going to use protocol: http
going to use default elastic headers
not using any prefix
datahub_analytics_enabled: true
>>> GET _ilm/policy/datahub_usage_event_policy response code is 200
>>> _ilm/policy/datahub_usage_event_policy already exists ✓
>>> GET _index_template/datahub_usage_event_index_template response code is 200
>>> _index_template/datahub_usage_event_index_template already exists ✓
2022/10/13 173527 Command finished successfully.```
bright-motherboard-35257
10/13/2022, 5:37 PMbright-motherboard-35257
10/16/2022, 6:08 PMmicroscopic-mechanic-13766
10/17/2022, 2:10 PMmicroscopic-mechanic-13766
10/28/2022, 7:09 AMbright-motherboard-35257
11/09/2022, 10:33 PM