-
-
Notifications
You must be signed in to change notification settings - Fork 714
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
Unexpected kwargs error #3151
Comments
Update: I'm using a utility function to create Clients, in which I always pass those two keyword arguments even when I'm connecting to a known scheduler address, so I suppose this is on me to change how I do this. |
Correct. Previously we were silently ignoring those keywords. Now we raise
with an informative message. Should we change this or do you think that
this should work for you.
…On Wed, Oct 16, 2019, 9:23 AM Chris White ***@***.***> wrote:
Update: I'm using a utility function to create Clients, in which I always
pass those two keyword arguments even when I'm connecting to a known
scheduler address, so I suppose this is on me to change how I do this.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3151?email_source=notifications&email_token=AACKZTAKWMBGQBBD6PAILIDQO4PWNA5CNFSM4JBMHPCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBMVURI#issuecomment-542726725>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACKZTEJFA537B5JE6YV3M3QO4PWNANCNFSM4JBMHPCA>
.
|
That works for me! I had forgotten that these clients were created with this utility which force-fed the kwargs when I originally opened the issue - I've already fixed it on my side 👍 |
@mrocklin I am trying to get rid of contineous rolling of worker warnings on the console. |
@SOUMYASHUKLA this exception is only raised if you are providing an address. Either you provide an address to an existing cluster or we'll use the extra kwargs to initialize a new LocalCluster. Both is not possible. If you are still experiencing issues, may I ask you to open a new issue with your specific exception and traceback? |
@fjetter Thank you for your response. I have setup the dask cluster in docker environment to run my computations inside docker container. As per reference, I used the following syntax,
There are a few things I am having trouble with as follows:
I can open a new issue for docker issues if you suggest. Thanks again! |
@SOUMYASHUKLA I suspect this would be a better topic for the Discourse group, here: https://dask.discourse.group/ since it is about using Dask/distributed, and not so much about a bug report. Please let me know if you have any questions 😄 |
@bryanwweber Thank you. This issue was reported already at discourse discussion |
@SOUMYASHUKLA Great, then let's avoid duplicating discussion here. |
This should be added in the documentation. If it has been, in a more prominent place; I perused the documentation and never saw this. |
It appears that #3117 introduced a check for whether certain kwargs were used when initializing a
Client
.Previously, this sort of pattern was allowed:
with the expectation that these kwargs were passed down to the
LocalCluster
object which is created when a scheduler address is not provided. Now this raises:scheduler_address
is actually passed?The text was updated successfully, but these errors were encountered: