Comments (5)
@bbovenzi Yes, that seems to be the case. My guess is this didn't happen before because Airflow was not drawing datasets in the graph
from airflow.
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
from airflow.
If it helps to decipher this problem, i found another case:
And in this one, i was able to find old tasks with that name (That task does not exist any more) - However even after deleting the deprecated task instances using the UI, the same error persists in the console, my impression is it seems some "phantom records" are being picked up by the graph library?.
Upon further investigation, it seems this might be caused by the new datasets viz in the graph? Because i see that we get this record that is not present in the datasets UI, because it's from a deprecated table:
{
"consuming_dags": [],
"created_at": "2023-10-16T18:24:02.812802+00:00",
"extra": {},
"id": 1081,
"producing_tasks": [
{
"created_at": "2023-10-16T18:24:02.827186+00:00",
"dag_id": "dbt_pipeline_agg_alb_logs",
"task_id": "dbt_models.raw_alb_logs_api_requests_categorized",
"updated_at": "2023-10-16T18:24:02.827200+00:00"
}
],
"updated_at": "2023-10-16T23:11:20.408211+00:00",
"uri": "raw_alb_logs_api_requests_categorized"
}
(This is from /api/v1/datasets?dag_ids=dbt_pipeline_agg_alb_logs)
Is there a way to clean it up? Or to make Airflow ignore this record instead of breaking the graph?
from airflow.
cc @bbovenzi
from airflow.
So this only happens to DAGs with Datasets? And it sounds like it happens when we retrieve datasets but either the dataset or task no longer exists so we're pointing to a nonexistent node. Sounds straightforward enough to add a check for that.
from airflow.
Related Issues (20)
- Include `run_id` in TaskInstance Logging for Enhanced Traceability and Debugging HOT 1
- Update Databricks provider to depend on databricks-sql-connector >= 3.1.0 HOT 4
- [Bug]: Papermill Provider installed via pip seems empty HOT 2
- Create a Cloud Storage Operator that could return a list of objects in a folder HOT 2
- KubernetesPodOperator callback example from Doc doesn't work HOT 2
- webserver - acces task log | TypeError: '<' not supported between instances of 'Interval' and 'DateTime'
- FTPHook doesn't not allow to change port HOT 7
- Support Async Cursor for SQLExecuteOperator
- In provider docs, the environment variables in Configuration tab are shown incorrectly HOT 3
- Send email alert failed when task fail HOT 2
- Release helm chart for Airflow 2.9.0 HOT 2
- Missing termination argument in DockerOperator HOT 8
- Logs from elastic not visible in Grid menu HOT 5
- Status of testing of Apache Airflow 2.9.1rc2 HOT 7
- DAG disappearing from Airflow in case of standalone DAG processor HOT 1
- Create new Callback Types HOT 2
- New release covering latest main HOT 1
- webserver static file caching is disabled above 2.3.0 version. HOT 2
- Status of testing Providers that were prepared on May 01, 2024 HOT 24
- Mock all connections in `TestYandexCloudYqHook::test_select_results` HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from airflow.