question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Usage question: Existing client?

See original GitHub issue

If a client is started up within a notebook without specifying the tcp address, e.g.:

from dask.distributed import Client

client = Client(n_workers=8, threads_per_worker=8)

is there any way to connect the extension to it? I don’t see the client showing up in the left side extension window, and I don’t know how to search for it.

Relatedly, what is the search bar for? I’m not clear what I’m supposed to be searching for there, or if it’s related to my question.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
ian-r-rosecommented, Aug 6, 2019

jupyter-server-proxy should be installed when installing dask_labextension, but people have run into issues there, so I was just trying to be explicit.

The clusters listing only knows about clusters that it creates itself, so if you do it out-of-band, there is no way to make them show up (at least not right now, we may tackle cluster discovery down the road).

0reactions
JamesSamplecommented, Sep 12, 2019

A small addition/UI suggestion…

I had exactly the same problem running on JupyterHub and, as suggested, entering the dashboard link as

/user/{JUPYTERHUB_USER}/proxy/{port}/status

as in dask-examples solved the problem for me. However, one thing I found confusing at first was that I was originally entering the link and then clicking the “search” (magnifying glass) button. This didn’t work - it just reset the URL to http://127.0.0.1:8787/ and then nothing happened.

Entering the dashboard link as given above and pressing ENTER worked perfectly.

I think this is just my misunderstanding of what the “search” button actually does i.e. searching for an active cluster in the default location versus searching for the cluster name entered in the text box?

Maybe it would be more intuitive if entering a link in the text box and then clicking search attempted to connect to that cluster, rather than to a default cluster at http://127.0.0.1:8787/ ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

90 Revealing Questions to Ask to Really Understand Your Client
Consultants need interview questions that ask a current or potential client for details on how both sides can best serve the relationship.
Read more >
12 GREAT Questions To Ask Your Clients (And Make More ...
Your existing clients are your biggest opportunity to help you grow your business, because they've already been convinced! “We see our customers ......
Read more >
Here are the top 5 questions you'd ask your customers
Here are the top 5 questions you'd ask your customers · What can my company do to better serve your needs? · How...
Read more >
Five Questions You Should Ask Every Customer - Forbes
1. How did you find out about us? · 2. What is it about our business that made you choose to deal with...
Read more >
Examples of Specific Client Interview Questions
If it isn't ideal, what have you done to address it? Dealing with an Existing Customer/Client What is it that you value the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found