cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Optimize Cluster Uptime by Avoiding Unwanted Library or Jar Installations

hprasad
New Contributor III

Whenever we discuss clusters or nodes in any service, we need to address the cluster bootstrap process. Traditionally, this involves configuring each node using a startup script (startup.sh).

In this context, installing libraries in the cluster is part of the bootstrap process. This can increase the cluster or node's startup time, as the necessary libraries must be uploaded and installed on each node.

Therefore, it's crucial to limit and focus on only the essential libraries required for your job, ignoring any unnecessary ones.

Regards,
Hari Prasad
2 REPLIES 2

Alberto_Umana
Databricks Employee
Databricks Employee

For further details on managing init scripts and optimizing the bootstrap process, you can refer to the Databricks documentation on init scripts. This documentation provides recommendations for using built-in platform features instead of init scripts whenever possible, as widespread use of init scripts can slow migration to new Databricks Runtime versions and prevent the adoption of some Databricks optimizations.

 

https://docs.databricks.com/en/init-scripts/index.html

VZLA
Databricks Employee
Databricks Employee

@hprasad thanks for your post and insights!

Was this meant to be a sharing experience, or did you have any specific doubts or concerns to discuss? Please let us know, happy to help.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group