Commit a4ed2c2
authored
[dagster-aws] Honor configured EMR s3 job package path (#33733)
## Summary & Motivation
Closes #3679.
Patched the EMR step launcher so --py-files now matches the configured
distribution mode in python_modules/libraries/dagster-
aws/dagster_aws/emr/pyspark_step_launcher.py:436. If s3_job_package_path
is set, it uses that URI; if deploy_local_job_package=True, it uses the
staged code.zip; otherwise it omits --py-files entirely instead of
pointing at a non-uploaded artifact.
## Test Plan
## Changelog
- [dagster-aws] honor configured EMR s3 job package path1 parent fb8f5fb commit a4ed2c2
2 files changed
Lines changed: 45 additions & 2 deletions
File tree
- python_modules/libraries/dagster-aws
- dagster_aws_tests/emr_tests
- dagster_aws/emr
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
433 | 433 | | |
434 | 434 | | |
435 | 435 | | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
436 | 442 | | |
437 | 443 | | |
438 | 444 | | |
| |||
442 | 448 | | |
443 | 449 | | |
444 | 450 | | |
| 451 | + | |
445 | 452 | | |
446 | | - | |
447 | | - | |
448 | 453 | | |
449 | 454 | | |
450 | 455 | | |
| |||
Lines changed: 38 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
0 commit comments