Hello, in a DataHub system I wanted to integrate w...
# troubleshoot
h
Hello, in a DataHub system I wanted to integrate with Databricks and used the GUI for the connection. But sadly the ingestion fails with this error:
Copy code
[2023-05-10 14:02:14,659] ERROR    {datahub.entrypoints:213} - Command failed: Failed to configure the source (unity-catalog): type object 'Retry' has no attribute 'DEFAULT_METHOD_WHITELIST'
Traceback (most recent call last):
  File "/tmp/datahub/ingest/venv-unity-catalog-0.9.6/lib/python3.10/site-packages/datahub/ingestion/run/pipeline.py", line 114, in _add_init_error_context
    yield
  File "/tmp/datahub/ingest/venv-unity-catalog-0.9.6/lib/python3.10/site-packages/datahub/ingestion/run/pipeline.py", line 192, in __init__
    self.source = source_class.create(
  File "/tmp/datahub/ingest/venv-unity-catalog-0.9.6/lib/python3.10/site-packages/datahub/ingestion/source/unity/source.py", line 158, in create
    return cls(ctx=ctx, config=config)
  File "/tmp/datahub/ingest/venv-unity-catalog-0.9.6/lib/python3.10/site-packages/datahub/ingestion/source/unity/source.py", line 110, in __init__
    self.unity_catalog_api_proxy = proxy.UnityCatalogApiProxy(
  File "/tmp/datahub/ingest/venv-unity-catalog-0.9.6/lib/python3.10/site-packages/datahub/ingestion/source/unity/proxy.py", line 125, in __init__
    ApiClient(
  File "/tmp/datahub/ingest/venv-unity-catalog-0.9.6/lib/python3.10/site-packages/databricks_cli/sdk/api_client.py", line 106, in __init__
    method_whitelist=set({'POST'}) | set(Retry.DEFAULT_METHOD_WHITELIST),
AttributeError: type object 'Retry' has no attribute 'DEFAULT_METHOD_WHITELIST'
A Google search revealed that urllib3 had an update which changed some things: https://stackoverflow.com/questions/76183443/azure-devops-release-pipeline-attributeerror-type-object-retry-has-no-attribu So I guess that pinning the urllib3 requirement to a 1.x version could solve this.
📖 1
🔍 1
l
Hey there 👋 I'm The DataHub Community Support bot. I'm here to help make sure the community can best support you with your request. Let's double check a few things first: ✅ There's a lot of good information on our docs site: www.datahubproject.io/docs, Have you searched there for a solution? ✅ button ✅ It's not uncommon that someone has run into your exact problem before in the community. Have you searched Slack for similar issues? ✅ button Did you find a solution to your issue? Yes button No button
b
Hey I am facing the same issue
CC: @hundreds-photographer-13496
d
Thank you for the head up! @gray-shoe-75895 Could you look into this?
f
Hi guys, this was caused by a nested dependency update. We'll have a new CLI version out soon
This is now fixed in version 0.10.2.3
b
Thank you!
h
@famous-waitress-64616 Thank you for the quick help
r
@famous-waitress-64616 & @delightful-ram-75848 I am still getting the same error even though I changed the version to 0.10.2.3 .. is there any workaround?
f
How are you running ingestion? If you are running ingestion via the UI, the version run may not match that of your CLI