【问题标题】:BokehWebInterface not working for Dask DistributedBokehWebInterface 不适用于 Dask 分布式
【发布时间】: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


【解决方案1】:

该问题已在 0.12.6 版本的 Bokeh 中得到修复。谢谢@MRocklin 的意见。

【讨论】:

  • 我相信 Bokeh 0.12.6 目前仅在 conda "bokeh" 频道上,但可能很快就会渗透到 conda-forge 并默认。
猜你喜欢
  • 2021-01-20
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2016-11-27
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多