databricks/databricks-vscode

Handle case when running a file and the cluster is stopped

Closed this issue · 1 comments

Observed experience

When executing "Run File on Databricks" while the cluster is stopped the call will just hang

Expected experience

When executing "Run" while the cluster is stopped we should error with an error message.

Action items:

  • Refresh configuration tree regularly
  • Add a command to the cluster tree item to start/stop the cluster
  • The error message should ask if the user wants to start the cluster (both in "Run on Cluster" and "Run as Workflow"