Wait for Libraries to Install on Databricks Cluster
wait_for_lib_installs(
cluster_id,
polling_interval = 5,
allow_failures = FALSE,
host = db_host(),
token = db_token()
)
Unique identifier of a Databricks cluster.
Number of seconds to wait between status checks
If FALSE
(default) will error if any libraries status
is FAILED
. When TRUE
any FAILED
installs will be presented as a
warning.
Databricks workspace URL, defaults to calling db_host()
.
Databricks workspace token, defaults to calling db_token()
.
Library installs on Databricks clusters are asynchronous, this function allows you to repeatedly check installation status of each library.
Can be used to block any scripts until required dependencies are installed.
db_libs_cluster_status()