tall-fall-45442
04/15/2022, 1:48 AMdatahub docker check
shows that there are no issues detected.
Here is the specification that I'm using for the MongoDB ingestion source:
source:
type: mongodb
config:
connect_uri: '<mongodb://localhost>'
username: '${MONGO-DB-USERNAME}'
password: '${MONGO-DB-PASSWORD}'
enableSchemaInference: true
useRandomSampling: true
maxSchemaSize: 300
sink:
type: datahub-rest
config:
server: '<http://localhost:8080>'
But I am getting an error about a refused connection.
'[2022-04-15 01:37:45,418] INFO {datahub.cli.ingest_cli:88} - DataHub CLI version: 0.8.32.1\n'
'[2022-04-15 01:37:45,423] WARNING {urllib3.connectionpool:810} - Retrying (Retry(total=2, connect=None, read=None, redirect=None, '
"status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f86471ada00>: Failed to "
"establish a new connection: [Errno 111] Connection refused')': /config\n"
'[2022-04-15 01:37:49,424] WARNING {urllib3.connectionpool:810} - Retrying (Retry(total=1, connect=None, read=None, redirect=None, '
"status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f86471add00>: Failed to "
"establish a new connection: [Errno 111] Connection refused')': /config\n"
'[2022-04-15 01:37:57,411] WARNING {urllib3.connectionpool:810} - Retrying (Retry(total=0, connect=None, read=None, redirect=None, '
"status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f86471ad520>: Failed to "
"establish a new connection: [Errno 111] Connection refused')': /config\n"
'[2022-04-15 01:37:57,658] ERROR {datahub.entrypoints:152} - File '
'"/tmp/datahub/ingest/venv-1f3b70e4-8933-4643-ad3e-d9279e37c6cd/lib/python3.9/site-packages/urllib3/connection.py", line 174, in '
early-lamp-41924
04/15/2022, 5:15 AMtall-fall-45442
04/15/2022, 7:05 AMdatahub docker quicketart
and datahub docker ingest-stample-data
then no. I also checked the environment variables of the datahub-gms
container and it doesn't have ${METADATA_SERVICE_AUTH_ENABLED} set.mammoth-bear-12532
tall-fall-45442
04/15/2022, 5:25 PMtall-fall-45442
04/15/2022, 5:26 PMsource:
type: mongodb
config:
connect_uri: '<mongodb://host.docker.internal>'
username: mongo
password: ${MONGO-DB-PASSWORD}
enableSchemaInference: true
useRandomSampling: true
maxSchemaSize: 300
sink:
type: datahub-rest
config:
server: '<http://datahub-gms:8080>'
early-lamp-41924
04/15/2022, 5:45 PMearly-lamp-41924
04/15/2022, 5:45 PM