-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[dagster-dask] Support execution on dask_yarn #2273
Comments
hmm wonder if we should use something like https://jcristharif.com/introducing-skein.html and just support YARN directly |
I have an idea how to address this issue. We cam amend the execute function in the DaskEngine class to include the following (similar to dask_yarn example)
If it make sense i will be happy to submit a PR. |
@DavidKatz-il yes something along those lines could work; one additional concern I should flag here is that to properly support these, we should expose a way to configure the cluster via the executor config schema (currently: https://github.com/dagster-io/dagster/blob/master/python_modules/libraries/dagster-dask/dagster_dask/executor.py#L9-L36) We could either explicitly create the config schema fields for each cluster configuration parameter, or use Please ping me on the Dagster Slack if you decide to jump in, I'm happy to help you get a PR together! |
Fixed by #2498 |
Right now we just pass config along to the dask.distributed.Client: https://github.com/dagster-io/dagster/blob/master/python_modules/libraries/dagster-dask/dagster_dask/engine.py#L83
that would need to change to support dask_yarn which needs to pass in a YARN cluster object to the client
The text was updated successfully, but these errors were encountered: