Skip to content
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

ENH: DRM to DRMAA configuration adapters #1

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

jerdra
Copy link
Contributor

@jerdra jerdra commented Feb 16, 2022

This PR implements configuration adapters so that we can specify scheduler configuration options directly in the Airflow Operator definition using a wrapper configuration object, i.e:

# Specify using DRMAA job configuration
AirflowOperator(
   ...,
   executor_config=DRMAAConfig(**DRMAA_OPTIONS)
)

# Specify using SLURM job configuration
AirflowOperator(
   ...,
   executor_config=SlurmConfig(**SLURM_OPTIONS)
)

This can be easily extended to accommodate any HPC scheduler with a DRMAA interface written for it

jerdra referenced this pull request in jerdra/drmaa_executor_plugin Feb 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant