Uh oh!
There was an error while loading. Please reload this page.
openlineage: isolate metadata extraction by executing OL methods in separate, forked process - #40078
Merged
Merged
Conversation
mobuchowski
requested review from
XD-DENG, ashb, kaxil, mik-laj and potiuk
as code ownersJune 5, 2024 21:37
mobuchowskiforce-pushed
the
openlineage-process-execution
branch
4 times, most recently
from
June 7, 2024 11:51
2c96acb to
44ba855Comparepotiuk
reviewed
Jun 8, 2024
Uh oh!
There was an error while loading. Please reload this page.
mobuchowskiforce-pushed
the
openlineage-process-execution
branch
3 times, most recently
from
June 11, 2024 13:11
69865d6 to
7c13f5dComparepotiuk
reviewed
Jun 11, 2024
Uh oh!
There was an error while loading. Please reload this page.
potiuk
reviewed
Jun 11, 2024
Uh oh!
There was an error while loading. Please reload this page.
potiuk
reviewed
Jun 11, 2024
Uh oh!
There was an error while loading. Please reload this page.
potiuk
reviewed
Jun 11, 2024
Uh oh!
There was an error while loading. Please reload this page.
potiuk
reviewed
Jun 11, 2024
Uh oh!
There was an error while loading. Please reload this page.
potiuk
reviewed
Jun 11, 2024
Uh oh!
There was an error while loading. Please reload this page.
potiuk
reviewed
Jun 11, 2024
Uh oh!
There was an error while loading. Please reload this page.
potiuk
commented
Jun 11, 2024
Member
Ah I missed those are two commits/PRs already :) |
mobuchowskiforce-pushed
the
openlineage-process-execution
branch
2 times, most recently
from
June 12, 2024 14:54
d863e62 to
55e5792Comparemobuchowskiforce-pushed
the
openlineage-process-execution
branch
from
June 13, 2024 12:46
55e5792 to
8cbb8bcCompareSigned-off-by: Maciej Obuchowski <obuchowski.maciej@gmail.com>
mobuchowskiforce-pushed
the
openlineage-process-execution
branch
from
June 14, 2024 12:39
8cbb8bc to
187d87eComparepotiuk
approved these changes
Jun 14, 2024
96 tasks
20 tasks
romsharon98 pushed a commit
to romsharon98/airflow
that referenced
this pull request
Jul 26, 2024
…ss (apache#40078) Signed-off-by: Maciej Obuchowski <obuchowski.maciej@gmail.com>
This file contains hidden or 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
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR builds on #39890 (already merged).
After this change, OpenLineage will execute metadata extraction in separate, forked process.
It's a technique modeled to what interaction between
LocalTaskJobRunnerandStandardTaskRunnerlooks like - a process, in this case process ofStandardTaskRunnerwatches over OpenLineage listener process during metadata extraction.This adds a layer of isolation between task execution and OpenLineage, adding a level of assurance that OpenLineage execution does not interfere with task execution in a way other than taking time.
Additionally, this allows us to add configurable timeout for OL execute methods.
The reason for that is, beyond configurability, that sometimes metadata extraction code can hang - for example, when dealing with Snowflake connection issue snowflakedb/snowflake-connector-python#1898 - and we want to give as much guarantees that OL will not cause task to fail.