诊断页面不再可用

时间:2018-10-19 10:57:57

标签: dask

我正在运行dask 0.19.4,并分发了1.23.3。散景诊断页面不可用,尽管我过去已经广泛使用它们。这是一个测试用例,它生成404:

from distributed import Client
from dask import delayed
import time

if __name__ == "__main__":

    c = Client()
    addr = c.scheduler_info()['address']
    services = c.scheduler_info()['services']
    if 'bokeh' in services.keys():
        bokeh_addr = 'http:%s:%s' % (addr.split(':')[1],  services['bokeh'])
        print('Diagnostic pages available on port %s' % bokeh_addr)

    work = [delayed(time.sleep)(5.0 + i / 100.0) for i in range(100)]

    c.compute(work, sync=True)
    c.close()

    print('Finished')

我在macOS和Linux上都看到了这一点。

谢谢, 蒂姆

0 个答案:

没有答案