I want to attach the init script (which has all library dependencies) with an interactive cluster in databricks. The init script look like the below attachment and works fine in databricks notebook.
I want this shell script to run at cluster start, but when I configure it as a init script for the cluster it returns an error. Here's how I have attached the init script to my cluster,
I found a url discussing the same problem but solution provided here (changing extension of the file from .sh to .bash) doesn't work for me. Please help me fix this issue.
Please do remove extra (
"
) to successfully install init script.
As per my repro: I have used the same code as above.
Result: Cluster terminated Reason: Init Script Failure
After removing extra quote ("
).
Result: Init_Scripts successfully installed.