Dask-cuda: [BUG] Error during launch of dask-cuda-worker

Created on 1 Aug 2019  Â·  3Comments  Â·  Source: rapidsai/dask-cuda

When I launch dask-cuda-worker from command line using following command I get error:

(rapids) root@dt07:/# dask-cuda-worker --scheduler-file=/home/nfs/pgali/del31 --no-bokeh --host=10.136.7.107
/opt/conda/envs/rapids/lib/python3.7/site-packages/distributed/nanny.py:138: UserWarning: The local_dir keyword has moved to local_directory
  warnings.warn("The local_dir keyword has moved to local_directory")
Traceback (most recent call last):
  File "/opt/conda/envs/rapids/bin/dask-cuda-worker", line 11, in <module>
    load_entry_point('dask-cuda==0.9.0a0+20.g357ec2c.dirty', 'console_scripts', 'dask-cuda-worker')()
  File "/opt/conda/envs/rapids/lib/python3.7/site-packages/dask_cuda/dask_cuda_worker.py", line 323, in go
    main()
  File "/opt/conda/envs/rapids/lib/python3.7/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/opt/conda/envs/rapids/lib/python3.7/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/opt/conda/envs/rapids/lib/python3.7/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/opt/conda/envs/rapids/lib/python3.7/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/opt/conda/envs/rapids/lib/python3.7/site-packages/dask_cuda/dask_cuda_worker.py", line 314, in main
    loop.run_sync(run)
  File "/opt/conda/envs/rapids/lib/python3.7/site-packages/tornado/ioloop.py", line 532, in run_sync
    return future_cell[0].result()
  File "/opt/conda/envs/rapids/lib/python3.7/site-packages/tornado/gen.py", line 209, in wrapper
    yielded = next(result)
  File "/opt/conda/envs/rapids/lib/python3.7/site-packages/dask_cuda/dask_cuda_worker.py", line 307, in run
    yield [n._start(addr) for n in nannies]
  File "/opt/conda/envs/rapids/lib/python3.7/site-packages/dask_cuda/dask_cuda_worker.py", line 307, in <listcomp>
    yield [n._start(addr) for n in nannies]
AttributeError: 'Nanny' object has no attribute '_start'

Most helpful comment

This is in now. Thanks @galipremsagar for the report and @mrocklin for the fix. Closing.

All 3 comments

Yes, there have been some internal changes upstream that were just
released. I'm working on this now. Thanks for the clear issue.

On Wed, Jul 31, 2019 at 5:39 PM GALI PREM SAGAR notifications@github.com
wrote:

When I launch dask-cuda-worker from command line using following command I
get error:

(rapids) root@dt07:/# dask-cuda-worker --scheduler-file=/home/nfs/pgali/del31 --no-bokeh --host=10.136.7.107
/opt/conda/envs/rapids/lib/python3.7/site-packages/distributed/nanny.py:138: UserWarning: The local_dir keyword has moved to local_directory
warnings.warn("The local_dir keyword has moved to local_directory")
Traceback (most recent call last):
File "/opt/conda/envs/rapids/bin/dask-cuda-worker", line 11, in
load_entry_point('dask-cuda==0.9.0a0+20.g357ec2c.dirty', 'console_scripts', 'dask-cuda-worker')()
File "/opt/conda/envs/rapids/lib/python3.7/site-packages/dask_cuda/dask_cuda_worker.py", line 323, in go
main()
File "/opt/conda/envs/rapids/lib/python3.7/site-packages/click/core.py", line 764, in __call__
return self.main(args, *kwargs)
File "/opt/conda/envs/rapids/lib/python3.7/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/opt/conda/envs/rapids/lib/python3.7/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, *ctx.params)
File "/opt/conda/envs/rapids/lib/python3.7/site-packages/click/core.py", line 555, in invoke
return callback(
args, **kwargs)
File "/opt/conda/envs/rapids/lib/python3.7/site-packages/dask_cuda/dask_cuda_worker.py", line 314, in main
loop.run_sync(run)
File "/opt/conda/envs/rapids/lib/python3.7/site-packages/tornado/ioloop.py", line 532, in run_sync
return future_cell[0].result()
File "/opt/conda/envs/rapids/lib/python3.7/site-packages/tornado/gen.py", line 209, in wrapper
yielded = next(result)
File "/opt/conda/envs/rapids/lib/python3.7/site-packages/dask_cuda/dask_cuda_worker.py", line 307, in run
yield [n._start(addr) for n in nannies]
File "/opt/conda/envs/rapids/lib/python3.7/site-packages/dask_cuda/dask_cuda_worker.py", line 307, in
yield [n._start(addr) for n in nannies]
AttributeError: 'Nanny' object has no attribute '_start'

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rapidsai/dask-cuda/issues/100?email_source=notifications&email_token=AACKZTCYKB6S7XWXG7MK75TQCIWDNA5CNFSM4IILUIGKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HCWI3NQ,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACKZTA63N6RD6LUQHKFJ53QCIWDNANCNFSM4IILUIGA
.

See https://github.com/rapidsai/dask-cuda/pull/101

On Wed, Jul 31, 2019 at 5:43 PM Matthew Rocklin mrocklin@gmail.com wrote:

Yes, there have been some internal changes upstream that were just
released. I'm working on this now. Thanks for the clear issue.

On Wed, Jul 31, 2019 at 5:39 PM GALI PREM SAGAR notifications@github.com
wrote:

When I launch dask-cuda-worker from command line using following command
I get error:

(rapids) root@dt07:/# dask-cuda-worker --scheduler-file=/home/nfs/pgali/del31 --no-bokeh --host=10.136.7.107
/opt/conda/envs/rapids/lib/python3.7/site-packages/distributed/nanny.py:138: UserWarning: The local_dir keyword has moved to local_directory
warnings.warn("The local_dir keyword has moved to local_directory")
Traceback (most recent call last):
File "/opt/conda/envs/rapids/bin/dask-cuda-worker", line 11, in
load_entry_point('dask-cuda==0.9.0a0+20.g357ec2c.dirty', 'console_scripts', 'dask-cuda-worker')()
File "/opt/conda/envs/rapids/lib/python3.7/site-packages/dask_cuda/dask_cuda_worker.py", line 323, in go
main()
File "/opt/conda/envs/rapids/lib/python3.7/site-packages/click/core.py", line 764, in __call__
return self.main(args, *kwargs)
File "/opt/conda/envs/rapids/lib/python3.7/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/opt/conda/envs/rapids/lib/python3.7/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, *ctx.params)
File "/opt/conda/envs/rapids/lib/python3.7/site-packages/click/core.py", line 555, in invoke
return callback(
args, **kwargs)
File "/opt/conda/envs/rapids/lib/python3.7/site-packages/dask_cuda/dask_cuda_worker.py", line 314, in main
loop.run_sync(run)
File "/opt/conda/envs/rapids/lib/python3.7/site-packages/tornado/ioloop.py", line 532, in run_sync
return future_cell[0].result()
File "/opt/conda/envs/rapids/lib/python3.7/site-packages/tornado/gen.py", line 209, in wrapper
yielded = next(result)
File "/opt/conda/envs/rapids/lib/python3.7/site-packages/dask_cuda/dask_cuda_worker.py", line 307, in run
yield [n._start(addr) for n in nannies]
File "/opt/conda/envs/rapids/lib/python3.7/site-packages/dask_cuda/dask_cuda_worker.py", line 307, in
yield [n._start(addr) for n in nannies]
AttributeError: 'Nanny' object has no attribute '_start'

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rapidsai/dask-cuda/issues/100?email_source=notifications&email_token=AACKZTCYKB6S7XWXG7MK75TQCIWDNA5CNFSM4IILUIGKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HCWI3NQ,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACKZTA63N6RD6LUQHKFJ53QCIWDNANCNFSM4IILUIGA
.

This is in now. Thanks @galipremsagar for the report and @mrocklin for the fix. Closing.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gram526 picture gram526  Â·  3Comments

ayushdg picture ayushdg  Â·  10Comments

beckernick picture beckernick  Â·  7Comments

vfdev-5 picture vfdev-5  Â·  6Comments

drobison00 picture drobison00  Â·  9Comments