You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have following task which is failing with below error:
Tasks:
#===== Configure Databricks CLI =====
- task: configuredatabricks@0
displayName: Configure Databricks CLI
inputs:
url: $(databricks_url)
token: $(sm-dbw-access-token)
#===== Deploy Notebooks to Workspace =====
- task: deploynotebooks@0
displayName: Deploy Notebooks to Workspace
inputs:
notebooksFolderPath: $(Pipeline.Workspace)/drop/notebook
workspaceFolder: /NOTEBOOKS/etl1
error:
Starting: Deploy Notebooks to Workspace
Task : Deploy Databricks Notebooks
Description : Recursively deploys Notebooks from given folder to a Databricks Workspace
Version : 0.5.6
Author : Microsoft DevLabs
Help :
Where as the one from March showed
...
Collecting requests>=2.17.3
Downloading requests-2.28.2-py3-none-any.whl
...
Collecting urllib3<1.27,>=1.21.1
Downloading urllib3-1.26.15-py2.py3-none-any.whl
I believe we want this combination, which is what my original environment.yml states and is referenced in the links below
pip install requests==2.25.1 urllib3==1.26.5
[UPDATE]. I updated my YML with this and I can confirm it worked. Note for me urllib3==1.25.11 doesn't cause error but I read that 1.26.5 will work too.
We have following task which is failing with below error:
Tasks:
#===== Configure Databricks CLI =====
- task: configuredatabricks@0
displayName: Configure Databricks CLI
inputs:
url: $(databricks_url)
token: $(sm-dbw-access-token)
#===== Deploy Notebooks to Workspace =====
- task: deploynotebooks@0
displayName: Deploy Notebooks to Workspace
inputs:
notebooksFolderPath: $(Pipeline.Workspace)/drop/notebook
workspaceFolder: /NOTEBOOKS/etl1
error:
Starting: Deploy Notebooks to Workspace
Task : Deploy Databricks Notebooks
Description : Recursively deploys Notebooks from given folder to a Databricks Workspace
Version : 0.5.6
Author : Microsoft DevLabs
Help :
/opt/hostedtoolcache/Python/3.10.6/x64/bin/python -V
Python 3.10.6
Version: 3.10.6
Python3 selected. Running...
/opt/hostedtoolcache/Python/3.10.6/x64/bin/databricks workspace import_dir -o --profile AZDO /home/vsts/work/1/drop/notebook /NOTEBOOKS/etl1
Error: AttributeError: type object 'Retry' has no attribute 'DEFAULT_METHOD_WHITELIST'
##[error]The Notebooks import process failed.
Finishing: Deploy Notebooks to Workspace
We used following workaround to mitigate issue.
databricks/databricks-cli#634
We also think issue could also be caused by
urllib3/urllib3@ba59347
Can you please confirm if this is causing error and provide us solution to avoid that workaround. So we can have permanent fix for the issue.
The text was updated successfully, but these errors were encountered: