-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add log viewing tools #28
base: main
Are you sure you want to change the base?
Conversation
This doesn't seem to work for me-- So while launching the cluster, I configured the cluster logs to On my local workstation, steps:
Whereas running similar command with Databricks CLI yields:
Also. does this tool depend on an actively running cluster to work? jw |
I think you need to just run |
Viewing init logs when debugging a failed cluster start can be a little unpleasant.
To make viewing these logs a little easier I've added a couple of CLI utilities in
dask-databricks
to help you navigate them.Listing clusters
You can get a full list of available logs with the
dask databricks ls <path>
command where the path is the DBFS location you configured your logs to write to.Viewing logs
Once you have your cluster ID you can view the logs from the latest launch of that cluster with
dask databricks cat <path> <cluster>
.