-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: slightly incresed Airflow concurrency
- Loading branch information
Francesco Stablum
committed
Nov 11, 2021
1 parent
97b6e4c
commit 7747d65
Showing
5 changed files
with
27 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
|
||
RUN_ID=$(airflow dags list-runs --state running -d download_and_preprocess_sets -o plain | | ||
grep download_and_preprocess_sets | | ||
head -n 1 | | ||
awk '{print $2}') | ||
|
||
echo $RUN_ID | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
|
||
# some tasks may fail, but that doesn't mean that the entire dataset download and creation | ||
# process also has to fail. This script marks some failed tasks as successful so dependent | ||
# tasks can continue being run even with slightly less data | ||
|
||
RUN_ID=$(bash last_run_id.sh) | ||
echo RUN_ID:$RUN_ID |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters