Hei everyone, thanks for your answers!
@Walter_C I checked and saw that after like 5mins the Event Log shows that "Metastore is down". I see in the driver logs that the connection build up is timed out. I wonder how a init_script with only the following line can cause this:
#!/bin/bash
When I check the spark logs I see some lines like "locked java.net.SocksSocketImp"
@Palo Yes, in the end this is the error message, when I try to execute a command from a notebook.
To your alternative-idea: This works perfectly I know. But we want our company repo to be enforced, so users can just type "pip install <package-name>" without thinking from where they are downloading their packages.
I did further tests:
- Same behaviour on different DBR versions
- Same behaviour, if I put the file in a volume or directly in the workspace
- Same behaviour, even after checking with "dos2unix" that the init_script doesn't have any non-unix stuff inside
I will further try to do it directly with terraform:
https://registry.terraform.io/providers/databricks/databricks/latest/docs/resources/global_init_scri...
Any input on this matter is welcome, thanks everybody.