Sample config file isn't in a working format
See original GitHub issueWith distributed 1.25.1, if you start up with no configuration file, one is created for you in: ~/.config/dask/distributed.yaml
This starts:
# distributed:
# version: 2
# # logging:
# # distributed: info
# # distributed.client: warning
# # bokeh: critical
If you were to remove the hashes and try to use the config file as is, it doesn’t work – the code still expects the old-style config files., for example, dask.security does not look under the key distributed.comm
. for tls
, it expects it at the top level.
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
The 3 Best Config File Formats - Jonathan Hall
There are countless configuration file formats. Some are custom-designed for a specific application, such as those used by the Apache web ...
Read more >What is a config file? - Opensource.com
They're easy to parse and easy to edit. The INI format features sections in addition to keys and values. In this sample code,...
Read more >CFG & CONFIG Files (What They Are & How to Open Them)
A CFG or CONFIG file is most likely a configuration file. Learn how to open CFG/CONFIG files and how to convert one to...
Read more >How to Write a Configuration file in Python | by Xiaoxu Gao
The most common and standardized formats are YAML, JSON, TOML and INI. A good configuration file should meet at least these 3 criteria:...
Read more >Store custom information from a configuration file - C#
This article describes how to store and retrieve custom information from an application configuration file by using Visual C#.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I don’t think so. However, this issue may have already been fixed by https://github.com/dask/distributed/pull/2873. cc @jcrist
@prasunanand as a side note, all conversation around Dask development takes place on GitHub so if there’s not a comment indicating that someone is working on an issue, then feel free to jump in
In particular if you search distributed/security.py for
dask.config.config
you’ll find that this dictionary is passed into some function that hopefully grabs the relevant information from it. My guess is that we instead need to pass indask.config.get('distributed.comm.tls')
or something similar (maybedask.config.get('distributed.comm')
or something else).I don’t personally have a good way to test this, but @rbubley might have suggestions.