cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Notebook is not attaching to a cluster, asks to contact your administrator. Completely stumped. Please help.

gaurav_khanna
New Contributor II
 
1 ACCEPTED SOLUTION

Accepted Solutions

User16753725182
Contributor III
Contributor III

Hi @gaurav khanna​ , this may happen if you do not have appropriate level permissions on the cluster or you may only have 'Can read' on a notebook that doesn't allow detach and reattach.

https://docs.databricks.com/security/access-control/cluster-acl.html#cluster-level-permissions

https://docs.databricks.com/security/access-control/workspace-acl.html#notebook-permissions

In such cases, you can ask your admin to grant you the necessary permissions.

@Yuanyue Liu​ When you create a new notebook/cluster you get the owner access with 'Can Manage'. permissions by default.

If you still get an error where the notebook doesn't attach to the cluster - in such cases, it must be that your cluster is unhealthy or your driver has crashed. You can try restarting your cluster then.

View solution in original post

4 REPLIES 4

Hubert-Dudek
Esteemed Contributor III

Please provide more details. Are you administrator? Can you create cluster? What edition is it (community, Azure)?

Student185
New Contributor III

I met the same problem, too. I created a new one with runtime - 10.0 (includes Apache Spark 3.2.0, Scala 2.12) instead of 9.1 LTS(Scala 2.12, Spark 3.1.2), which works.

User16753725182
Contributor III
Contributor III

Hi @gaurav khanna​ , this may happen if you do not have appropriate level permissions on the cluster or you may only have 'Can read' on a notebook that doesn't allow detach and reattach.

https://docs.databricks.com/security/access-control/cluster-acl.html#cluster-level-permissions

https://docs.databricks.com/security/access-control/workspace-acl.html#notebook-permissions

In such cases, you can ask your admin to grant you the necessary permissions.

@Yuanyue Liu​ When you create a new notebook/cluster you get the owner access with 'Can Manage'. permissions by default.

If you still get an error where the notebook doesn't attach to the cluster - in such cases, it must be that your cluster is unhealthy or your driver has crashed. You can try restarting your cluster then.

BartRJD
New Contributor II

I am having the same issue (Azure Databricks).
I have a running compute cluster analytics-compute-cluster running in Single User access mode.  The Event Log for the cluster says the cluster is running and the "Driver is healthy".

I have Manage permission on the cluster.   I am the creator of the Notebook we are trying to attach to the compute cluster.

From the Attach to an existing compute resource dialogue, choose the "General compute" option.

I'm expectiing to see my running cluster in the drop down list "Select a cluster" but it is not there.

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!