Replies: 2 comments 1 reply
-
@morikplay Can you add the appropriate |
Beta Was this translation helpful? Give feedback.
-
Upon closer examination of the dask code, it seems to me that perhaps either
and in
following the logic above:
which then calls A few ways to solve the issue, imho, would be: Either that or perhaps my syntax for worker and scheduler options is wrong .. hehehe to allay the concern of incorrect input, if i add
just before
(edit) @bryanwweber @jrbourbeau
Notice, the construction of string argument. Anything within Fix here's the temporary fix for Scheduler in
Result
Same change in scheduler, and atleast the cluster will launc (1). There will however be a side-effect of the chosen design. As the number of workers increase, so will the size of the command. At some value (e.g. 100 workers) this is definitely bound to fail. To circumvent it, I modified ssh.py to output |
Beta Was this translation helpful? Give feedback.
-
Hello,
cross-posting from stackoverflow (https://stackoverflow.com/questions/71290821/dask-scheduler-sshcluster-not-establishing-connection) to see whether authors would be so kind as to shed some light on behavior i'm observing.
Use-case:: SSH'ing into self (localhost) to launch Scheduler + 1 worker
Error: JSONDecodeError at the time of scheduler launch
Failed Command generated by code: 'set xyz && && C:\Users\maulik\miniconda3\envs\mls\python.exe -m distributed.cli.dask_spec --spec '{"cls": "distributed.Scheduler", "opts": {"port": 8786}}'`
env:
miniconda3 env:
conda install geopandas dask=2022.2.1 sqlalchemy psycopg2 pykml fpdf openpyxl geoalchemy2 asyncssh paramiko
Python paths:
code to invoke SSHCluster
Beta Was this translation helpful? Give feedback.
All reactions