Troubleshooting Unresponsive Python Notebooks or Canceled Commands
This article provides an overview of troubleshooting steps you can take if a notebook is unresponsive or cancels commands.
Check metastore connectivity
Simple commands in newly-attached notebooks fail, but succeed in notebooks that were attached to the same cluster earlier.
- Check metastore connectivity. The inability to connect to the Hive metastore can cause REPL initialization to hang, making the cluster appear unresponsive.
- Are you are using the Azure Databricks metastore or your own external metastore? If you are using an external metastore, have you changed anything recently? Did you upgrade your metastore version? Rotate passwords or configurations? Change security group rules?
See Metastore for more troubleshooting tips and solutions.
Check for conflicting libraries
Python library conflicts can result in cancelled commands. The Azure Databricks support organization sees conflicts most often with versions of
For more notebook troubleshooting information, see Notebooks.