cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

Dask-Databricks init script not working

rbauer
New Contributor

Hello everybody ! 

 

I am trying to use the Dask-Databricks distribution (https://github.com/dask-contrib/dask-databricks?tab=readme-ov-file)

i set up the required init-script according to the instructions on the Github page and had no problems there, however the cluster is not able to start always crashing with this error message : failed: Script exit status is non-zero

Unfortunately i don't know the first thing about scripting or init scripts and couldn't find anything to fix this

This is the script i used : 

#!/bin/bash

# Install Dask + Dask Databricks
/databricks/python/bin/pip install --upgrade dask[complete] dask-databricks

# Start Dask cluster components
dask databricks run

 

Thank you for your help ! 

 

1 REPLY 1

Kaniz
Community Manager
Community Manager

Hi @rbauer, It seems you’re encountering issues with starting your Dask-Databricks cluster due to a non-zero exit status from your init script.

Let’s troubleshoot this together.

Here are some steps you can take to address the problem:

  1. Check the Init Script:

    • Ensure that the init script you’ve set up follows the correct syntax and is free of errors.
    • Verify that the path to the script is accurate. You’ll need the full path to the location of the script (e.g., dbfs:/databricks/<init-script-folder>/create_dummy_file.sh).
  2. Cluster-Scoped Init Script:

  3. Mirror Sync in Progress:

  4. Remove Extra Quotes:

If you encounter further difficulties, feel free to ask for more assistance. Good luck, and I hope your Dask cluster starts smoothly! 🚀🌟

 
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.