Reputation: 51
I'm trying to install com.crealytics.spark.excel
package in databricks. is there command line way to install it without going from cluster, library and install new??
Upvotes: 1
Views: 11189
Reputation: 12768
You can use Databricks CLI to install '
com.crealytics.spark.excel
' in Databricks.
Syntax: databricks libraries install --cluster-id "Cluster ID" --maven-coordinates "GroupId:ArtifactId:Version" (i.e.org.jsoup:jsoup:1.7.2)
Step1: From maven coordinates, you can go to Maven Repository and pick the version which you are looking for.
Step2: Use the below Databricks CLI command to install 'com.crealytics.spark.excel
' in Databricks.
databricks libraries install --cluster-id "0925-XXXXXX-bite618" --maven-coordinates "com.crealytics:spark-excel_2.12:0.13.5"
For different methods to install packages in Azure Databricks, refer: How to install a library on a databricks cluster using some command in the notebook?
Upvotes: 1