Stream: dask

Topic: dask dashboard on cgd machines


view this post on Zulip Anna-Lena Deppenmeier (Sep 17 2020 at 17:13):

Hi there, does anyone have the dask dashboard running on cgd machines? It used to work for me on andre, but it hasn't worked for a while now.
pasted image
When I click on the dashboard link I just get an error with "This site can't be reached".

view this post on Zulip Matt Long (Sep 17 2020 at 17:27):

cc @Anderson Banihirwe

view this post on Zulip Anderson Banihirwe (Sep 17 2020 at 18:55):

Hi @Anna-Lena Deppenmeier,

Try setting the dashboard url to

import dask
dask.config.set({'distributed.dashboard.link': '/proxy/{port}/status'})
...
cluster = distributed.LocalCluster(.....)

view this post on Zulip Anna-Lena Deppenmeier (Sep 17 2020 at 19:14):

Thanks!

view this post on Zulip Anderson Banihirwe (Sep 17 2020 at 19:16):

Of course!

view this post on Zulip Anna-Lena Deppenmeier (Sep 17 2020 at 22:53):

I think there's still something wrong. I can now see changes on the system tab but never anything in the status tab, no task streams and so on
pasted image

view this post on Zulip Anderson Banihirwe (Sep 18 2020 at 17:17):

Yeah, that's so strange.... If you happen to be around today, it may be easier to diagnose the issue on a live video call at some point during the day

view this post on Zulip Anna-Lena Deppenmeier (Sep 18 2020 at 19:16):

That would be great. I'm available for the rest of the afternoon. Let me know when / if you can make it

view this post on Zulip Anderson Banihirwe (Sep 18 2020 at 19:30):

Let's meet here: meet.google.com/pej-zjqr-rpo

view this post on Zulip Anderson Banihirwe (Sep 18 2020 at 19:31):

I am around from now - 2pm and then I'll be around after 4pm

view this post on Zulip Anna-Lena Deppenmeier (Sep 18 2020 at 20:27):

pasted image

Hooray! :party_ball: :celebration:

view this post on Zulip Deepak Cherian (Sep 18 2020 at 20:30):

nice! what was the issue?

view this post on Zulip Anderson Banihirwe (Sep 18 2020 at 20:37):

what was the issue?

We forgot to instantiate a client object :slight_smile: and as a result, dask was just using the local scheduler

import dask
dask.config.set({'distributed.dashboard.link': '/proxy/{port}/status'})
...
cluster = distributed.LocalCluster(.....)
client = Client(cluster)....

view this post on Zulip Deepak Cherian (Sep 18 2020 at 20:39):

ah yes. should add this to an FAQ somewhere


Last updated: Jan 30 2022 at 12:01 UTC