When starting a cluster with LocalCluster it appears that the workers have their dashboards disabled by default as the default worker_dashboard_address is None.
|
"dashboard": worker_dashboard_address is not None, |
This is counter to starting a worker from the command line where the dashboard is enabled by default.
Setting the worker_dashboard_address to 0 in LocalCluster results in the dashboard running on a random high port. This is the same behaviour as the command line.
cluster = LocalCluster(worker_dashboard_address=0)
Therefore I propose we change the default value for worker_dashboard_address in LocalCluster to 0. User's can still disable the dashboard by explicitly setting worker_dashboard_address to None.
When starting a cluster with
LocalClusterit appears that the workers have their dashboards disabled by default as the defaultworker_dashboard_addressisNone.distributed/distributed/deploy/local.py
Line 177 in f2b09c6
This is counter to starting a worker from the command line where the dashboard is enabled by default.
Setting the
worker_dashboard_addressto0inLocalClusterresults in the dashboard running on a random high port. This is the same behaviour as the command line.Therefore I propose we change the default value for
worker_dashboard_addressinLocalClusterto0. User's can still disable the dashboard by explicitly settingworker_dashboard_addresstoNone.