Repository navigation
Specify protocol in LocalCluster - #2489
Conversation
TomAugspurger
left a comment
There was a problem hiding this comment.
Looks good, thanks.
Just for discussion, would an alternative be to specify scheduler_address=<protocol>://<address>:<port>? Is there a reason we split this between three arguments (consistency with other places? Just historical reasons?)
| service_kwargs: Dict[str, Dict] | ||
| Extra keywords to hand to the running services | ||
| security : Security | ||
| protocol: str (optiona) |
There was a problem hiding this comment.
Missing an "l" in optional.
There was a problem hiding this comment.
Should this be like 'tcp' or tcp://?
Edit: I see that either works.
Yeah, it's not ideal. That being said, these aren't entirely overlapping. The question of processes/protocol are somewhat separate (though often correlated). You might want to have in-memory workers with ucx for testing for example. Users generally may not be comfortable specifying |
|
👍
yes, that's been quite helpful for me. |
|
Anyway, if you get a chance to test this out I'd be curious to see if it works in your case. |
|
Trying it out now. Hitting an issue in the worker creation that's probably a bug on my end. |
|
I think this will suffice for my UCX work. Right now, I believe I'm not handling "default" / implicit ports correctly, so I'm getting errors like I think the client <-> scheduler comm is created with an address like When the scheduler <-> worker comm is created, the address is like |
|
I just tested this and I'm getting:
With the following:
I think the nanny workers are trying to start up on ucx as well. cc @jakirkham |
|
Can I ask for the full traceback? Also, what happens if you don't specify an ip and scheduler_port? |
|
Haven’t followed closely, but this may be blocked by https://github.com/Akshay-Venkatesh/ucx-py/issues/24#issuecomment-471528934
…________________________________
From: Matthew Rocklin <[email protected]>
Sent: Wednesday, March 27, 2019 9:14 PM
To: dask/distributed
Cc: Tom Augspurger; Mention
Subject: Re: [dask/distributed] Specify protocol in LocalCluster (#2489)
Can I ask for the full traceback?
Also, what happens if you don't specify an ip and scheduler_port?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#2489 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ABQHIlTjb06Bqx7sHR3noykmE14VQ6fLks5vbCWTgaJpZM4aWjkr>.
|
|
Same error as if you don't define ip and scheduler port: |
|
on the CLI the worker spins up if you set |
Fixes #2481
cc @TomAugspurger