Hi! I am trying to get metadata of mssql and i hav...
# ingestion
s
Hi! I am trying to get metadata of mssql and i have this error (local machine, windows, sql server locally, docker)
Copy code
"[2022-09-22 14:54:17,208] ERROR    {datahub.entrypoints:188} - Command failed with HTTPConnectionPool(host='localhost', port=8080): Max "
           "retries exceeded with url: /config (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1859651c90>: Failed "
           "to establish a new connection: [Errno 111] Connection refused')). Run with --debug to get full trace\n"
Copy code
~~~~ Execution Summary ~~~~

RUN_INGEST - {'errors': [],
 'exec_id': '2547645d-cd36-4752-b64d-d5bf7552b7c6',
 'infos': ['2022-09-22 14:54:03.509045 [exec_id=2547645d-cd36-4752-b64d-d5bf7552b7c6] INFO: Starting execution for task with name=RUN_INGEST',
           '2022-09-22 14:54:17.675643 [exec_id=2547645d-cd36-4752-b64d-d5bf7552b7c6] INFO: stdout=venv setup time = 0\n'
           'This version of datahub supports report-to functionality\n'
           'datahub  ingest run -c /tmp/datahub/ingest/2547645d-cd36-4752-b64d-d5bf7552b7c6/recipe.yml --report-to '
           '/tmp/datahub/ingest/2547645d-cd36-4752-b64d-d5bf7552b7c6/ingestion_report.json\n'
           '[2022-09-22 14:54:04,862] INFO     {datahub.cli.ingest_cli:170} - DataHub CLI version: 0.8.42\n'
           "[2022-09-22 14:54:17,208] ERROR    {datahub.entrypoints:188} - Command failed with HTTPConnectionPool(host='localhost', port=8080): Max "
           "retries exceeded with url: /config (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1859651c90>: Failed "
           "to establish a new connection: [Errno 111] Connection refused')). Run with --debug to get full trace\n"
           '[2022-09-22 14:54:17,208] INFO     {datahub.entrypoints:191} - DataHub CLI version: 0.8.42 at '
           '/tmp/datahub/ingest/venv-mssql-0.8.42/lib/python3.10/site-packages/datahub/__init__.py\n',
           "2022-09-22 14:54:17.677042 [exec_id=2547645d-cd36-4752-b64d-d5bf7552b7c6] INFO: Failed to execute 'datahub ingest'",
           '2022-09-22 14:54:17.677216 [exec_id=2547645d-cd36-4752-b64d-d5bf7552b7c6] INFO: Caught exception EXECUTING '
           'task_id=2547645d-cd36-4752-b64d-d5bf7552b7c6, name=RUN_INGEST, stacktrace=Traceback (most recent call last):\n'
           '  File "/usr/local/lib/python3.10/site-packages/acryl/executor/execution/default_executor.py", line 123, in execute_task\n'
           '    task_event_loop.run_until_complete(task_future)\n'
           '  File "/usr/local/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete\n'
           '    return future.result()\n'
           '  File "/usr/local/lib/python3.10/site-packages/acryl/executor/execution/sub_process_ingestion_task.py", line 168, in execute\n'
           '    raise TaskError("Failed to execute \'datahub ingest\'")\n'
           "acryl.executor.execution.task.TaskError: Failed to execute 'datahub ingest'\n"]}
Execution finished with errors.
d
Do you use the command line or the ui for ingestion?
s
both! 🙂 but lets say ui
I have two options for sink sink: type: "datahub-rest" config: server: "http://datahub-gms:8080" OR (docker based) sink: type: "datahub-rest" config: server: "http://localhost:8080"