ganpat
ganpat

Reputation: 51

Alternative way to add 'com.crealytics.spark.excel' in Databricks

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

Answers (1)

CHEEKATLAPRADEEP
CHEEKATLAPRADEEP

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.

enter image description here

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"

enter image description here

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

Related Questions