cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
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
Esteemed Contributor III
Esteemed Contributor III

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?

 

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.