init script doesn't finish its run when it is located in workspace. it runs fun when I have in bfs

kkarlkarl
New Contributor

the first attached image runs fine when cluster starts

kkarlkarl_1-1694891596629.png

this next image of the script does not finish when I include the -y parameter. if I include the -y I get failed:  Script exit status is non-zero

kkarlkarl_2-1694891722854.png

 

can someone please help

 

Debayan
Databricks Employee
Databricks Employee

Hi, if I have understand your issue correctly, when you run directly in notebook it ends with an error but when you run it inside .sh with -y it runs okay?