Copy file from dbfs in cluster-scoped init script
问题 I want to try out cluster scoped init scripts on a Azure Databricks cluster. I'm struggling to see which commands are available. Basically, I've got a file on dbfs that I want to copy to a local directory /tmp/config when the cluster spins up. So I created a very simple bash script: #!/bin/bash mkdir - p /tmp/config databricks fs cp dbfs:/path/to/myFile.conf /tmp/config Spinning up the cluster fails with "Cluster terminated. Reason: Init Script Failure". Looking at the log on dbfs, I see the