cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Administration & Architecture
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Installing libraries on job clusters

erigaud
Honored Contributor

Simple question : what is the way to go to install libraries on job clusters ? There does not seem to be a "Libraries" tab on the UI as opposed to regular clusters. Does it mean that the only option is to use init scripts ? 

1 ACCEPTED SOLUTION

Accepted Solutions

Tharun-Kumar
Honored Contributor II
Honored Contributor II

@erigaud 

You can traverse to the Tasks section of the job and to the first task in your job. Under the task properties, you would be seeing Dependent libraries using which you can install libraries from maven or python or even a custom JAR.

Screenshot 2023-07-12 at 10.14.27 AM.png

View solution in original post

8 REPLIES 8

ranged_coop
Valued Contributor II

In the job, you would have the dependent library option, where you can mention the libraries you need installed. They will get installed on the job cluster before the job starts. This link might be useful...

Tharun-Kumar
Honored Contributor II
Honored Contributor II

@erigaud 

You can traverse to the Tasks section of the job and to the first task in your job. Under the task properties, you would be seeing Dependent libraries using which you can install libraries from maven or python or even a custom JAR.

Screenshot 2023-07-12 at 10.14.27 AM.png

erigaud
Honored Contributor

Will installing a lib on a task for a job make this lib available for all the other tasks aswell ? (assuming they all use the same cluster)

 

Tharun-Kumar
Honored Contributor II
Honored Contributor II

@erigaud Yes it will be available for all the subsequent tasks on the cluster.

MouhannadOweis
New Contributor II

How can you do this in ADF?

@MouhannadOweis 
You can also add libraries to ADF Databricks task.

daniel_sahal_0-1714022026231.png

 

Thank you that worked.

brushdoylt
New Contributor II

@daniel_sahalflappy bird

Is there another way to add libraries to the ADF Databricks task even faster?

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.