You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to use the CLI tools to submit a new YARN application and cluster, without creating a dask client script?
I know I can just add a while loop to the client script to run indefinitely, but it seems there should be a way to do something like:
dask-yarn start_cluster
I tried to just use dask-yarn services scheduler/worker but it complains about now being inside a YARN container:
Traceback (most recent call last):
File "/home/hadoop/miniconda/bin/dask-yarn", line 11, in <module>
sys.exit(main())
File "/home/hadoop/miniconda/lib/python3.6/site-packages/dask_yarn/cli.py", line 412, in main
func(**kwargs)
File "/home/hadoop/miniconda/lib/python3.6/site-packages/dask_yarn/cli.py", line 289, in scheduler
app_client = skein.ApplicationClient.from_current()
File "/home/hadoop/miniconda/lib/python3.6/site-packages/skein/core.py", line 1046, in from_current
raise context.ValueError("Not running inside a container")
ValueError: Not running inside a container
The text was updated successfully, but these errors were encountered:
No, this feature is not currently implemented. It could be pretty easily though. Right now things are designed to either be run as a batch job (via the CLI), or programmatically (notebook/console/script) with the lifetime of the cluster bound to the lifetime of the client process.
We would like to use a notebook that's not actually running on the master node, but within the same VPC, which would connect to an already running dask cluster using Client(). We have notebooks on other services (e.g. sagemaker) that would like access to distributed compute for ad hoc experimentation
Is there a way to use the CLI tools to submit a new YARN application and cluster, without creating a dask client script?
I know I can just add a while loop to the client script to run indefinitely, but it seems there should be a way to do something like:
I tried to just use
dask-yarn services scheduler/worker
but it complains about now being inside a YARN container:The text was updated successfully, but these errors were encountered: