The current cluster state is pending . please retry your request after 30 seconds

saikrishna3390
New Contributor II

We are trying to make a connection to database instance from datahub/dbeaver and getting error . We can make a connection manually after few tries .

We are facing it every time we execute our code to make a connection. We need to resolve this before we automate the process .

why is the cluster state pending when making a connection and how to resolve this ?

jose_gonzalez
Databricks Employee
Databricks Employee

could you share more details? for example, go to the driver's logs and extract the logs and share the error stack trace with us please.