brave-secretary-27487
02/11/2022, 2:42 PMdatahub-frontend:
ingress:
enabled: false
annotations:
<http://kubernetes.io/ingress.class|kubernetes.io/ingress.class>: traefik
hosts:
- host : "url"
paths: ['/']
datahub:
metadata_service_authentication:
enabled: true
datahub-gms:
datahub:
metadata_service_authentication:
enabled: true
global:
metadata_service_authentication:
enabled: true
systemClientId: "__datahub_system"
systemClientSecret:
secretRef: "datahub-auth-secrets"
secretKey: "token_service_signing_key"
tokenService:
signingKey:
secretRef: "datahub-auth-secrets"
secretKey: "token_service_signing_key"
# Set to false if you'd like to provide your own auth secrets
provisionSecrets: true
Should I enable metadata_service_authentication in both front-end, gms and global?
And where can I find the systemClientId
?
I tried the setup without the global tag and this didn't work. So i assume the metadata_service_authentication
should also be enabled in global?agreeable-plastic-37919
02/11/2022, 7:12 PMbetter-orange-49102
02/14/2022, 10:06 AMtall-queen-61078
02/14/2022, 11:13 AMexecutor failed running [/bin/sh -c cd datahub-src && ./gradlew :datahub-frontend:dist -PenableEmber=${ENABLE_EMBER} -PuseSystemNode=${USE_SYSTEM_NODE} -x test -x yarnTest -x yarnLint && cp datahub-frontend/build/distributions/datahub-frontend.zip ../datahub-frontend.zip && cd .. && rm -rf datahub-src && unzip datahub-frontend.zip]: exit code: 137
Command which I am trying to run is following:
docker build -t datahub_frontend -f ./docker/datahub-frontend/Dockerfile .
better-orange-49102
02/15/2022, 3:12 AMjava -jar datahub-upgrade.jar -u RestoreBackup
but what would be the arguments after that? something something -a dump_file? What format is expected? Seems like parquet?
running the command as-is resulted my DB being wiped đ
. Also see ES indices being cleared except for metadata_service_v1 and datasetprofileaspect_v1wonderful-jordan-36532
02/15/2022, 2:58 PM<http://alb.ingress.kubernetes.io/scheme|alb.ingress.kubernetes.io/scheme>: internal
is not sufficient. Does it require changing of service type from load_balancer to nodeport in the helm charts?billions-receptionist-60247
02/16/2022, 7:27 PMalert-teacher-6920
02/16/2022, 8:33 PMgorgeous-optician-32034
02/17/2022, 4:26 PMacceptable-architect-70237
02/17/2022, 8:57 PMdatahub-frontend-react
and datahub-gms
services. You can find it here. https://liangjunjiang.medium.com/deploy-open-source-datahub-fd597104512bhigh-hospital-85984
02/18/2022, 11:12 AMjava.lang.OutOfMemoryError: Java heap space
when loading a particularly large entity (large schema, with descriptions and tags), and we realized we haven't touched the JAVA_OPTS
. As a complete Java beginner, are there any rule of thumb or recommendations for setting the heap size?careful-insurance-60247
02/18/2022, 4:39 PMbetter-orange-49102
02/21/2022, 1:28 PMbland-barista-59197
02/22/2022, 11:09 PMcurl --location --request POST '<http://localhost:8080/entities?action=list>' \
--header 'Content-Type: application/json' \
--data-raw '{
"entity": "dataset",
"filter": {
"criteria": [
{
"condition": "CONTAIN",
"field": "name",
"value": "hive"
}
]
},
"start": 0,
"count": 10000
}'
better-orange-49102
02/23/2022, 6:05 AMnumerous-camera-74294
02/23/2022, 2:23 PMable-rain-74449
02/23/2022, 3:32 PMbetter-orange-49102
02/28/2022, 8:23 AMancient-pharmacist-31624
03/01/2022, 1:36 PMdocker-compose.yml
and set some volume mounts (AuthN) and the var DATAHUB_VERSION=v0.8.26
as I noted with previous releases that sometimes it does not come up so allowed me to control when to go to new version etc.
I normally run docker-compose up -d
but today I get...
datahub-actions_1 | 2022/03/01 13:28:16 Problem with request: Get "<http://datahub-gms:8080/health>": dial tcp 172.27.0.8:8080: connect: connection refused. Sleeping 1s
datahub-gms | 2022/03/01 13:28:16 Problem with dial: dial tcp: lookup broker on 127.0.0.11:53: server misbehaving. Sleeping 1s
datahub-actions_1 | 2022/03/01 13:28:17 Problem with request: Get "<http://datahub-gms:8080/health>": dial tcp 172.27.0.8:8080: connect: connection refused. Sleeping 1s
Can anyone share tips how to debug pls? Much appreciated.adamant-magazine-62649
03/01/2022, 4:06 PMripe-sunset-20897
03/02/2022, 3:19 AMmagnificent-hospital-52323
03/02/2022, 10:10 AMextra_hosts: "host.docker.internal:host-gateway"
to the containers and adding the localhost=host.docker.internal alias in my /etc/hosts) but the redirect still fails saying "Connection Refused". Any idea what I might be doing wrong? Alternatively, is there a better way of achieving the same thing?
Here's what my frontend container looks like:
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=broker:29092
- DATAHUB_TRACKING_TOPIC=DataHubUsageEvent_v1
- ELASTIC_CLIENT_HOST=elasticsearch
- ELASTIC_CLIENT_PORT=9200
- AUTH_OIDC_ENABLED=true
- AUTH_OIDC_CLIENT_ID=some-client-id
- AUTH_OIDC_CLIENT_SECRET=some-client-secret
- AUTH_OIDC_DISCOVERY_URI=<http://localhost:8000/openid/.well-known/openid-configuration/>
- AUTH_OIDC_BASE_URL=<http://localhost:9002>
hostname: datahub
image: linkedin/datahub-frontend-react:${DATAHUB_VERSION:-head}
ports:
- 9002:9002
extra_hosts:
- "host.docker.internal:host-gateway"
And here's the error present in the docker logs:
datahub-frontend-react | 09:53:02 [application-akka.actor.default-dispatcher-22] ERROR application -
datahub-frontend-react |
datahub-frontend-react | ! @7mp05igbp - Internal server error, for (GET) [/authenticate?redirect_uri=%2F] ->
datahub-frontend-react |
datahub-frontend-react | play.api.UnexpectedException: Unexpected exception[TechnicalException: java.net.ConnectException: Connection refused (Connection refused)]
mysterious-portugal-30527
03/03/2022, 6:41 PMelegant-traffic-96321
03/03/2022, 9:45 PMFailed to delete legacy data from graph: java.lang.ClassCastException: com.linkedin.metadata.graph.elastic.ElasticSearchGraphService cannot be cast to com.linkedin.metadata.graph.Neo4jGraphService
Failed to delete legacy data from graph: java.lang.ClassCastException: com.linkedin.metadata.graph.elastic.ElasticSearchGraphService cannot be cast to com.linkedin.metadata.graph.Neo4jGraphService
Failed Step 3/4: DeleteLegacyGraphRelationshipStep. Failed after 1 retries.
elegant-traffic-96321
03/03/2022, 10:03 PMbored-dress-52175
03/07/2022, 1:13 PMquiet-pilot-28237
03/08/2022, 4:57 AMkubelet Error: secret "datahub-encryption-secrets" not found
some-pizza-26257
03/08/2022, 7:02 AMlively-jackal-83760
03/08/2022, 10:17 AMmost-nightfall-36645
03/08/2022, 11:52 AMkafka.enabled
to false in the prerequisite chart?