You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In today's experiments with Dask + dask-jobqueue, I found that I could not load the Bokeh dashboard that @mrocklin keeps showing me 😄, which has kept me wondering what exactly is the progress on my simple, embarrassingly parallel task of "loading ~900+ matlab .mat matrices into memory".
The URL provided by the client is: http://172.16.23.102:8787/status.
I'm able to ping the IP address in there:
$ ping 172.16.23.102
However, I'm unable to access the page in my browser; I get a timeout error.
In terms of network settings, I'm on my work VPN.
Is there something that's blocking access that I'm missing?
Is there something that's blocking access that I'm missing?
Maybe. It might be worth checking with your IT staff.
You might consider seeing if machines on the SGE cluster can see that address, perhaps by using requests to download that page, both from the client machine, and possibly from one of the workers:
importrequestsrequests.get(addr) # does this work?client.run(requests.get, addr) # does this work?
@mrocklin thanks for the help! I tried the following:
importrequestsaddr="http://cluster.server.ip.addr:port/status"# with appropriate modifications.requests.get(addr) # times out
In the absence of any information from IT, my current hypothesis is that there is something blocking the opening of ports from node to node. I'll continue to keep tabs on this issue.
@ericmjl - would you be interested in adding a note in the dask-jobqueue documentation identifying this issue? I suspect other users will run into the port-forwarding issue.
We also do the same thing as @lesteve has suggested.
At some point we may consider revitalizing the JupyterLab extension for Dask (especially as JupyterLab has become more stable), which would make adding the extra ssh tunnel unnecessary. AIUI JupyterLab developers are eager to have users that can give feedback on this sort of thing. So getting help shouldn't be too hard if someone has cycles/interest to pursue this.
Activity
mrocklin commentedon Jun 15, 2018
ericmjl commentedon Jun 15, 2018
Originally, I did the following:
This gave the client address:
After setting the interface to
eth0:the client address is:
This was not accessible (also timed-out).
I also tried setting the cluster interface to
ib0. The client address then became:This also timed-out.
Setting the
eth1orib1also gave errors (likely because these interfaces are not 'enabled' somehow).mrocklin commentedon Jun 16, 2018
Maybe. It might be worth checking with your IT staff.
You might consider seeing if machines on the SGE cluster can see that address, perhaps by using
requeststo download that page, both from the client machine, and possibly from one of the workers:ericmjl commentedon Jun 18, 2018
@mrocklin thanks for the help! I tried the following:
In the absence of any information from IT, my current hypothesis is that there is something blocking the opening of ports from node to node. I'll continue to keep tabs on this issue.
lesteve commentedon Jun 20, 2018
The way I have got a similar setup to work in the past is to do ssh tunneling:
Then I can just open http://localhost:33023 on my local machine and see the status page. Slightly cumbersome but I am afraid I don't know of a more convenient way of doing it. This approach (which is not dask-specific at all) is mentioned in the distributed doc.
ericmjl commentedon Jun 20, 2018
@lesteve thank you for the excellent tip! I have added this to my TextExpander snippets 😄
jhamman commentedon Jun 20, 2018
@ericmjl - would you be interested in adding a note in the dask-jobqueue documentation identifying this issue? I suspect other users will run into the port-forwarding issue.
jhamman commentedon Jun 20, 2018
you may also be interested in this PR: pangeo-data/pangeo#317
jakirkham commentedon Jun 20, 2018
We also do the same thing as @lesteve has suggested.
At some point we may consider revitalizing the JupyterLab extension for Dask (especially as JupyterLab has become more stable), which would make adding the extra ssh tunnel unnecessary. AIUI JupyterLab developers are eager to have users that can give feedback on this sort of thing. So getting help shouldn't be too hard if someone has cycles/interest to pursue this.
ref: https://github.com/dask/dask-labextension
mrocklin commentedon Jun 20, 2018
jakirkham commentedon Jun 20, 2018
Issue ( dask/dask-labextension#15 ) had some discussion about how this might be done. Not sure if that advice is still current.
ericmjl commentedon Jun 20, 2018
@jhamman happy to do so. Give me a few hours (busy till later) and I'll be happy to PR in.