【发布时间】:2017-06-14 00:49:43
【问题描述】:
我已将我的 Dask 从版本 0.14.3 更新到 0.15.0,并从 1.16.3 分发到 1.17.0。 BokehWebInterface 已从此版本中删除。主页可以加载http://localhost:8787,但我无法访问任务、状态、工作人员(它会尝试重新加载,直到所有任务完成然后给出无法到达错误)。以前的版本都可以正常工作。
loop = IOLoop.current()
t = Thread(target=loop.start)
t.setDaemon(True)
t.start()
workers = []
services = {('http', HTTP_PORT): HTTPScheduler, ('bokeh', BOKEH_INTERNAL_PORT): BokehScheduler}
port = 8786
scheduler = Scheduler(loop=loop, services=services)
workers = []
bokeh_web = None
try:
scheduler.start(port)
# removed after updating the dask and ditributed
bokeh_web = BokehWebInterface(http_port=HTTP_PORT, bokeh_port=BOKEH_PORT)
# start workers
for resource in resources:
workers.append(Worker(scheduler.ip, port, **opts).start(0))
finally:
for worker in workers:
worker.stop()
scheduler.stop()
bokeh_web.close()
【问题讨论】:
-
散景版本
-
是的,我当前的 Bokeh 版本是 0.12.5,Tornado 是 4.5.1。感谢您的意见,我明天会更新我的散景。
-
如果你想要更早的东西,你也可以将龙卷风降级到 4.4
标签: distributed dask