Install jar file in Compute libraries
Upload a jar file (e.g. driver file) and install it
Click into the Compute
Go to the Libraries tab
Click Install New
There multiple source options, e.g. PyPI, S3, Volumes, Workspace, etc.
One way to install Jar file is using the Volumes, which is a storage attached to a Catalog.
Firstly create the volume in the Catalog
From the New on the top left in the menu bar,
Select Upload files to volume
Browse to the Catalog and the schema, e.g. the default schema of your prod catalog
Expand the schema and it will show the volumes attached to that schema
Click Create a volume to create a new one, e.g. drivers
Then it has the option to upload files to the created volume.
upload the Jar file to the volume
When done, go back to the Compute's libraries and install new
Choose volume as the source, browse to the volume where the JAR file is uploaded to,
Then select the jar file and install.
In older version of databricks, it has to use File Path/S3 to specify the driver file's path in the volume
If the jar file will be shared with other Compute clusters,
the jar needs to be added to the allow list
Click on Catalog in the left menu bar, click the 'Gear' the configuration icon
Go to the Allowed JARS tab
Put in the uploaded jar file's full path in the volume