We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
What happened:
When passing config with DASK_INTERNAL_INHERIT_CONFIG it appears it is not possible to override the default values.
DASK_INTERNAL_INHERIT_CONFIG
What you expected to happen:
I expected the config passed with DASK_INTERNAL_INHERIT_CONFIG to be applied.
Minimal Complete Verifiable Example:
Generate config
>>> from distributed.utils import serialize_for_cli >>> serialize_for_cli({"distributed": {"comm": {"default-scheme": "tls"}}}) 'eyJkaXN0cmlidXRlZCI6IHsiY29tbSI6IHsiZGVmYXVsdC1zY2hlbWUiOiAidGxzIn19fQ=='
Start scheduler with DASK_INTERNAL_INHERIT_CONFIG.
$ DASK_INTERNAL_INHERIT_CONFIG="eyJkaXN0cmlidXRlZCI6IHsiY29tbSI6IHsiZGVmYXVsdC1zY2hlbWUiOiAidGxzIn19fQ==" dask-scheduler
Connect a client and check the config.
>>> from dask.distributed import Client >>> import dask.config >>> client = Client("tcp://localhost:8786") >>> client.run_on_scheduler(lambda: dask.config.get("distributed.comm.default-scheme")) 'tcp'
Anything else we need to know?:
It appears that existing config is prioritised, even if the existing config is just detected from the defaults.
distributed/distributed/cli/dask_scheduler.py
Lines 170 to 173 in f2b09c6
Environment:
The text was updated successfully, but these errors were encountered:
cc @madsbk
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
What happened:
When passing config with
DASK_INTERNAL_INHERIT_CONFIG
it appears it is not possible to override the default values.What you expected to happen:
I expected the config passed with
DASK_INTERNAL_INHERIT_CONFIG
to be applied.Minimal Complete Verifiable Example:
Generate config
Start scheduler with
DASK_INTERNAL_INHERIT_CONFIG
.$ DASK_INTERNAL_INHERIT_CONFIG="eyJkaXN0cmlidXRlZCI6IHsiY29tbSI6IHsiZGVmYXVsdC1zY2hlbWUiOiAidGxzIn19fQ==" dask-scheduler
Connect a client and check the config.
Anything else we need to know?:
It appears that existing config is prioritised, even if the existing config is just detected from the defaults.
distributed/distributed/cli/dask_scheduler.py
Lines 170 to 173 in f2b09c6
Environment:
The text was updated successfully, but these errors were encountered: