Closed
Description
I am just testing dask-kubernetes.
Here is my code
from dask_kubernetes import KubeCluster, make_pod_spec
pod_spec = make_pod_spec(image='daskdev/dask:latest',
memory_limit='4G', memory_request='4G',
cpu_limit=1, cpu_request=1,
env={'EXTRA_PIP_PACKAGES': 'fastparquet git+https://github.com/dask/distributed'})
cluster = KubeCluster(pod_spec)
When I the the above code on Jupyter lab, I get the error as bleow:
tornado.application - ERROR - Exception in callback functools.partial(<bound method IOLoop._discard_future_result of <zmq.eventloop.ioloop.ZMQIOLoop object at 0x10e9bec88>>, <Task finished coro=<SpecCluster._correct_state_internal() done, defined at /Users/xyz/anaconda3/envs/py36/lib/python3.6/site-packages/distributed/deploy/spec.py:300> exception=AttributeError("'KubeCluster' object has no attribute '_lock'",)>)
Not sure what I am doing here. Some help would be great.