When a command gets stuck and displays the message "Running Command...", it could be due to several reasons such as a resource-intensive task, network issues, or a problem with the cluster. Here are some steps you can take to troubleshoot this issue:
1. Check the Cluster's Status and Logs: Use the Databricks UI to check the status of your cluster. If the cluster is in a "Terminated" state, you will need to restart it. You can also check the logs for any error messages or warnings.
2. Check the Resource Usage: If your command is resource-intensive, it might be taking longer to execute. You can check the Spark UI to see the resource usage of your command. If necessary, you can increase the resources of your cluster.
3. Try Running a Simple Command: Try running a simple command to see if it executes successfully. If it does, then the issue might be with the specific command you're trying to run.
4. Check Network Issues: If you're running Databricks in a cloud environment, there could be network issues that are causing the command to get stuck. Check your network connectivity and firewall settings.
Please provide me with more details about the command you're trying to run and the environment you're running it in.