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: 

Where to move cluster-init scripts after latest message (Storing initialization scripts on DBFS is being deprecated. We recommend using a different storage location)?

vsharma
New Contributor

Recently Databricks has started showing "Storing initialization scripts on DBFS is being deprecated. We recommend using a different storage location" . Is there an alternative of still keep using DBFS or do we need to move to ABSFS ? I could not find any link having more details. What about already set up init file. It will be a re-work to move all? Please advise.

3 REPLIES 3

Debayan
Databricks Employee
Databricks Employee

Hi, Legacy global init scripts and cluster-named init scripts are deprecated and cannot be used in new workspaces starting February 21, 2023. However, global and cluster-scoped init scripts can be used.

You can put init scripts in a cloud storage directory accessible by a cluster.

Assuming you are using Azure Databricks cluster, you can refer to https://learn.microsoft.com/en-us/azure/databricks/clusters/init-scripts#cluster-scoped-init-scripts

Please let us know if this helps.

Also please tag @Debayanโ€‹ with your next response which will notify me, Thank you!

Anonymous
Not applicable

Hi @Varun Sharmaโ€‹ 

Thank you for posting your question in our community! We are happy to assist you.

To help us provide you with the most accurate information, could you please take a moment to review the responses and select the one that best answers your question?

This will also help other community members who may have similar questions in the future. Thank you for your participation and let us know if you need any further assistance! 

vkeziv
New Contributor II

It is suggested that we can use Workspace but databricks CLI not supporting importing shell scripts, but we can import shell script using web page?

 

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local communityโ€”sign up today to get started!

Sign Up Now