Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[AIRFLOW-5948] Replace SimpleDag with SerializedDag#7694

Merged
kaxil merged 10 commits intoapache:masterfrom
kaxil:replace-simpledag
Sep 3, 2020
Merged

[AIRFLOW-5948] Replace SimpleDag with SerializedDag#7694
kaxil merged 10 commits intoapache:masterfrom
kaxil:replace-simpledag

Conversation

@kaxil
Copy link
Member

@kaxil kaxil commented Mar 11, 2020

Replace SimpleDag with serialized version (json over multiprocessing) in SchedulerJob etc., no other change in scheduler behaviour. (This doesn't make sense long term, but does tidy up the code)


Issue link: AIRFLOW-5948

Make sure to mark the boxes below before creating PR: [x]

  • Description above provides context of the change
  • Commit message/PR title starts with [AIRFLOW-NNNN]. AIRFLOW-NNNN = JIRA ID*
  • Unit tests coverage for changes (not needed for documentation changes)
  • Commits follow "How to write a good git commit message"
  • Relevant documentation is updated including usage instructions.
  • I will engage committers as explained in Contribution Workflow Example.

* For document-only changes commit message can start with [AIRFLOW-XXXX].


In case of fundamental code change, 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 UPDATING.md.
Read the Pull Request Guidelines for more information.

@boring-cyborg boring-cyborg bot added area:Scheduler including HA (high availability) scheduler area:serialization labels Mar 11, 2020
@mik-laj mik-laj changed the title WIP: [AIRFLOW-5948] Replace SimpleDag with SerializedDag [AIRFLOW-5948][WIP] Replace SimpleDag with SerializedDag Mar 11, 2020
@feng-tao
Copy link
Member

this is great, I assume we are going to consolidate with single serde form in the future for Airflow which is json?

also cc @KevinYang21 who may be interested in this pr

@kaxil
Copy link
Member Author

kaxil commented Mar 12, 2020

this is great, I assume we are going to consolidate with single serde form in the future for Airflow which is json?

also cc @KevinYang21 who may be interested in this pr

That is correct, however, this particular PR is still WIP :)

DAG Serialisation work should be completed for the Webserver once the following PRs are merged:

With the current PR, we start DAG Serialization work in the Scheduler.

@stale stale bot added the stale Stale PRs per the .github/workflows/stale.yml policy file label Apr 28, 2020
@kaxil kaxil added pinned Protect from Stalebot auto closing and removed stale Stale PRs per the .github/workflows/stale.yml policy file labels Apr 28, 2020
@apache apache deleted a comment from stale bot May 13, 2020
@kaxil kaxil requested a review from ashb August 28, 2020 01:20
@kaxil kaxil marked this pull request as ready for review September 1, 2020 14:49
@kaxil kaxil changed the title [AIRFLOW-5948][WIP] Replace SimpleDag with SerializedDag [AIRFLOW-5948] Replace SimpleDag with SerializedDag Sep 1, 2020
@kaxil kaxil merged commit 9ac882e into apache:master Sep 3, 2020
@kaxil kaxil deleted the replace-simpledag branch September 3, 2020 15:52
ashb added a commit to astronomer/airflow that referenced this pull request Nov 9, 2020
Since apache#7694 these haven't really be needed, but we hadn't removed them
yet.

No UPDATING.md note for this as I think it's extremely unlikely anyone
was using this directly -- it's very much an implementation detail
relating to DAG/SimpleDag.
ashb added a commit that referenced this pull request Nov 9, 2020
Since #7694 these haven't really be needed, but we hadn't removed them
yet.

No UPDATING.md note for this as I think it's extremely unlikely anyone
was using this directly -- it's very much an implementation detail
relating to DAG/SimpleDag.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:Scheduler including HA (high availability) scheduler area:serialization pinned Protect from Stalebot auto closing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants