Путь к рабочим страницам отладки dask - PullRequest
0 голосов
/ 23 октября 2018

В документах говорится:

Debug Worker pages for each worker at http://worker-address:8789. 
These pages have detailed diagnostic information about the worker.
Like the diagnostic scheduler pages they are of more utility to
developers or to people looking to understand the performance of
their underlying cluster. If port 8789 is unavailable (for example 
it is in use by another worker) then a random port is chosen. A list
of all ports can be obtained from looking at the service ports for
each worker in the result of calling client.scheduler_info()

Я вижу сервис bokeh (который, я полагаю, то, что я ищу) в scheduler_info().Однако, если я нажму этот порт для LocalCluster, я просто получу 404.Это подсказывает мне, что к нему должен быть присоединен маршрут, но что это?

Кроме того, похоже, что KubeCluster вообще не имеет службы bokeh.Должен ли я вообще получить страницу статуса рабочего или она просто не реализована для KubeCluster?

1 Ответ

0 голосов
/ 23 октября 2018

Aha!Я нашел это:

https://github.com/dask/distributed/blob/master/distributed/bokeh/worker.py#L663

В частности, /main (и другие маршруты там).

...