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

Extend task context logging support for remote logging using WASB (Azure Blob Storage) #32972

Merged
merged 6 commits into from
Nov 17, 2023

Conversation

pankajkoti
Copy link
Member

With the addition of task context logging feature in PR #32646,
this PR extends the feature to Azure Blob Storage (WASB) when
is it set as remote logging store. Here, backward compatibility is
ensured for older versions of Airflow that do not have the feature
included in Airflow Core.


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

With the addition of task context logging feature in PR apache#32646,
this PR extends the feature to Azure Blob Storage (WASB)  when is
it set as remote logging store. Here, backward compatibility is
ensured for older versions of Airflow that do not have the feature
included in Airflow Core.
@pankajkoti pankajkoti force-pushed the task-context-log-wasb-logging branch from 751c95b to 08a0b29 Compare July 31, 2023 16:36
@pankajkoti
Copy link
Member Author

Backward compatibility test by putting this change on top of main branch locally:
Screenshot 2023-07-31 at 9 23 42 PM

Feature testing by putting these changes on the base PR branch which adds the feature in Airflow Core:
Without this change for WASB remote logging when tasks fail in scheduler:
Screenshot 2023-07-31 at 9 24 06 PM

With this change for WASB remote logging when tasks fail in scheduler:
Screenshot 2023-07-31 at 9 32 53 PM

@github-actions
Copy link

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale Stale PRs per the .github/workflows/stale.yml policy file label Sep 15, 2023
@github-actions github-actions bot closed this Sep 20, 2023
@pankajkoti pankajkoti reopened this Nov 14, 2023
@github-actions github-actions bot removed the stale Stale PRs per the .github/workflows/stale.yml policy file label Nov 15, 2023
@pankajkoti
Copy link
Member Author

Run of latest successful testing fetching logs from Azure WASB task failures due to task marked failed by scheduler after being detected as a zombie
Screenshot 2023-11-17 at 7 45 48 PM

@pankajkoti pankajkoti marked this pull request as ready for review November 17, 2023 14:17
@pankajkoti pankajkoti merged commit bb57a24 into apache:main Nov 17, 2023
46 checks passed
@pankajkoti pankajkoti deleted the task-context-log-wasb-logging branch November 17, 2023 14:47
@ephraimbuddy ephraimbuddy added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label Nov 20, 2023
@ephraimbuddy ephraimbuddy added this to the Airflow 2.8.0 milestone Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:logging area:providers changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) provider:microsoft-azure Azure-related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants