Open
Description
This only happens on my EMR cluster, not locally.
Here's the traceback.
distributed version 1.25.2
distributed.utils - ERROR - '<' not supported between instances of 'NoneType' and 'NoneType'
Traceback (most recent call last):
File "/mnt/anaconda2/envs/daskyarn/lib/python3.6/site-packages/distributed/utils.py", line 648, in log_errors
yield
File "/mnt/anaconda2/envs/daskyarn/lib/python3.6/site-packages/distributed/bokeh/scheduler.py", line 1139, in graph_doc
graph = GraphPlot(scheduler, sizing_mode='stretch_both')
File "/mnt/anaconda2/envs/daskyarn/lib/python3.6/site-packages/distributed/bokeh/scheduler.py", line 615, in __init__
self.layout = GraphLayout(scheduler)
File "/mnt/anaconda2/envs/daskyarn/lib/python3.6/site-packages/distributed/diagnostics/graph_layout.py", line 38, in __init__
priority=priority)
File "/mnt/anaconda2/envs/daskyarn/lib/python3.6/site-packages/distributed/diagnostics/graph_layout.py", line 42, in update_graph
stack = sorted(dependencies, key=lambda k: priority.get(k, 0), reverse=True)
TypeError: '<' not supported between instances of 'NoneType' and 'NoneType'
tornado.application - ERROR - Uncaught exception GET /graph (127.0.0.1)
HTTPServerRequest(protocol='http', host='localhost:8282', method='GET', uri='/graph', version='HTTP/1.1', remote_ip='127.0.0.1')
Traceback (most recent call last):
File "/mnt/anaconda2/envs/daskyarn/lib/python3.6/site-packages/tornado/web.py", line 1592, in _execute
result = yield result
File "/mnt/anaconda2/envs/daskyarn/lib/python3.6/site-packages/tornado/gen.py", line 1133, in run
value = future.result()
File "/mnt/anaconda2/envs/daskyarn/lib/python3.6/site-packages/tornado/gen.py", line 1141, in run
yielded = self.gen.throw(*exc_info)
File "/mnt/anaconda2/envs/daskyarn/lib/python3.6/site-packages/bokeh/server/views/doc_handler.py", line 55, in get
session = yield self.get_session()
File "/mnt/anaconda2/envs/daskyarn/lib/python3.6/site-packages/tornado/gen.py", line 1133, in run
value = future.result()
File "/mnt/anaconda2/envs/daskyarn/lib/python3.6/site-packages/tornado/gen.py", line 1141, in run
yielded = self.gen.throw(*exc_info)
File "/mnt/anaconda2/envs/daskyarn/lib/python3.6/site-packages/bokeh/server/views/session_handler.py", line 77, in get_session
session = yield self.application_context.create_session_if_needed(session_id, self.request)
File "/mnt/anaconda2/envs/daskyarn/lib/python3.6/site-packages/tornado/gen.py", line 1133, in run
value = future.result()
File "/mnt/anaconda2/envs/daskyarn/lib/python3.6/site-packages/tornado/gen.py", line 1147, in run
yielded = self.gen.send(value)
File "/mnt/anaconda2/envs/daskyarn/lib/python3.6/site-packages/bokeh/server/contexts.py", line 215, in create_session_if_needed
self._application.initialize_document(doc)
File "/mnt/anaconda2/envs/daskyarn/lib/python3.6/site-packages/bokeh/application/application.py", line 178, in initialize_document
h.modify_document(doc)
File "/mnt/anaconda2/envs/daskyarn/lib/python3.6/site-packages/bokeh/application/handlers/function.py", line 133, in modify_document
self._func(doc)
File "/mnt/anaconda2/envs/daskyarn/lib/python3.6/site-packages/distributed/bokeh/scheduler.py", line 1139, in graph_doc
graph = GraphPlot(scheduler, sizing_mode='stretch_both')
File "/mnt/anaconda2/envs/daskyarn/lib/python3.6/site-packages/distributed/bokeh/scheduler.py", line 615, in __init__
self.layout = GraphLayout(scheduler)
File "/mnt/anaconda2/envs/daskyarn/lib/python3.6/site-packages/distributed/diagnostics/graph_layout.py", line 38, in __init__
priority=priority)
File "/mnt/anaconda2/envs/daskyarn/lib/python3.6/site-packages/distributed/diagnostics/graph_layout.py", line 42, in update_graph
stack = sorted(dependencies, key=lambda k: priority.get(k, 0), reverse=True)
TypeError: '<' not supported between instances of 'NoneType' and 'NoneType'
Exception ignored in: <bound method GraphPlot.__del__ of <distributed.bokeh.scheduler.GraphPlot object at 0x7fd29d9e4b00>>
Traceback (most recent call last):
File "/mnt/anaconda2/envs/daskyarn/lib/python3.6/site-packages/distributed/bokeh/scheduler.py", line 750, in __del__
self.scheduler.remove_plugin(self.layout)
AttributeError: 'GraphPlot' object has no attribute 'layout'