Closed danricbede closed 11 months ago
After some more digging I came across this page.
On Databricks Runtime 13.1 and above, libraries that are referenced using DBFS filepaths are not supported on clusters that use shared access mode in a Unity Catalog-enabled workspace, whether in the DBFS root or an external location mounted to DBFS.
This also occurs when doing a dbx launch
, not just execute.
I will need to figure something out - UC complicates things somewhat.
Expected Behavior
Able to run
dbx execute
on a shared compute cluster.Current Behavior
Dbx throws error when installing packages on cluster:
CalledProcessError: Command 'pip --disable-pip-version-check install --force-reinstall "/dbfs/dbx/mywheel.whl[test]"' returned non-zero exit status 1.
Steps to Reproduce (for bugs)
dbx execute <workflow-name> --task <task-name>
Context
Additional output:
When I run directly in a notebook, the error is expanded upon:
The same command works when the access mode is Single User or Unrestricted.
Your Environment