02-14-2023 01:30 AM
Hello,
We have an Azure Data Factory pipeline running during the night, and one of the activities calls a Databricks Notebook with dynamic DatabricksInstancePoolId, ClusterVersion and Workers. Yesterday, it failed with with the following error:
Cluster terminated. Reason: Init script failure
Cluster scoped init script dbfs:/InitScripts/InstallODBCDriverForSQLServer.sh failed: Script exit status is non-zero
I checked the run in databricks and all I had in the output was:
Run result unavailable: job failed with error message
Unexpected failure while waiting for the cluster Some((xxxxxxxxxxxxxxx) )to be readySome(: Cluster xxxxxxxxxxxxxxxxis in unexpected state Terminated: INIT_SCRIPT_FAILURE(CLIENT_ERROR)instance_id:xxxxxxxxxxxxx,databricks_error_message:Cluster scoped init script dbfs:/InitScripts/InstallODBCDriverForSQLServer.sh failed: Script exit status is non-zero.).
Back in Azure Data Factory, I rerun the pipeline from failed activity and it succeeded, but I'm not sure how to prevent this from happening again.
Any idea how to troubleshoot this issue?
02-14-2023 04:25 AM
The error is internal with databricks sometimes it's happened while installing the ODBC driver.
02-14-2023 03:37 AM
Hi @Rita Fernandes ,
Is it first time you got this error??
02-14-2023 03:50 AM
Hi! Yes
02-14-2023 04:25 AM
The error is internal with databricks sometimes it's happened while installing the ODBC driver.
02-16-2023 09:41 PM
Hi @Rita Fernandes
Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help.
We'd love to hear from you.
Thanks!
02-24-2023 01:55 AM
Hi @Vidula Khanna , my solution was just rerunning the pipeline but I don't know in detail what was the issue. If it was internal with databricks maybe it was just a one-time thing, the error hasn't happened again since.
02-23-2023 02:14 PM
Hi @Rita Fernandes,
What are you trying to install in your init script? only the ODBC driver or some other libraries/dependencies?
02-24-2023 01:52 AM
Yes exactly. This error hasn't happened again since i posted this
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.
If there isn’t a group near you, start one and help create a community that brings people together.
Request a New Group