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.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group