Apache Airflow (Incubating)
Перейти к файлу
Ash Berlin-Taylor 0bf7adb209 [AIRFLOW-1764] The web interface should not use the experimental API
The web interface should not use the experimental
api as the
authentication options differ between the two.
Additionally, rather than
having an API call to get the last run data we can
easily include it in
the generated HMTL response. One less round-trip,
less endpoints, and
less time before the page has fully rendered.

This is based original off @NielsZeilemaker's PR
for the same Jira
issue (#2734)

Closes #2738 from ashb/no-exp-api-from-web-
interface
2017-11-01 15:25:28 +01:00
.github [AIRFLOW-995] Remove reference to actual Airflow issue 2017-03-17 15:55:56 -04:00
airflow [AIRFLOW-1764] The web interface should not use the experimental API 2017-11-01 15:25:28 +01:00
dags [Airflow 1332] Split logs based on try number 2017-07-20 18:08:18 -07:00
dev [AIRFLOW-XXX] Save username and password in airflow-pr 2017-09-11 15:19:58 +02:00
docs [AIRFLOW-1761] Fix type in scheduler.rst 2017-10-27 08:17:36 -07:00
licenses [AIRFLOW-1519] Add server side paging in DAGs list 2017-09-15 16:41:29 -07:00
scripts [AIRFLOW-1698] Remove SCHEDULER_RUNS env var in systemd 2017-10-18 21:55:57 +02:00
tests [AIRFLOW-1764] The web interface should not use the experimental API 2017-11-01 15:25:28 +01:00
.codecov.yml [AIRFLOW-248] Add Apache license header to all files 2016-06-21 08:15:42 -07:00
.coveragerc Do not use migrations in coverage 2016-09-13 23:29:13 +02:00
.editorconfig Add Apache 2 License 2017-03-10 22:49:33 -08:00
.gitignore [AIRFLOW-1591] Avoid attribute error when rendering logging filename 2017-09-19 15:34:06 +02:00
.rat-excludes [AIRFLOW-1476] add INSTALL instruction for source releases 2017-09-11 15:23:29 +02:00
.readthedocs.yml [AIRFLOW-956] Get docs working on readthedocs.org 2017-03-08 19:42:29 -08:00
.travis.yml [AIRFLOW-1527] Refactor celery config 2017-09-25 11:19:16 -07:00
CHANGELOG.txt [AIRFLOW-XXX] 1.8.2 release notes 2017-09-11 13:29:54 +02:00
CONTRIBUTING.md [AIRFLOW-641] Improve pull request instructions 2016-12-25 14:40:46 +01:00
DISCLAIMER Dropping .txt etension on repo's root files 2016-08-31 13:09:01 -07:00
INSTALL [AIRFLOW-1476] add INSTALL instruction for source releases 2017-09-11 15:23:29 +02:00
LICENSE [AIRFLOW-1291] Update NOTICE and LICENSE files to match ASF requirements 2017-06-12 10:47:56 -07:00
MANIFEST.in [AIRFLOW-1006] Add config_templates to MANIFEST 2017-03-20 23:48:08 -04:00
NOTICE [AIRFLOW-1291] Update NOTICE and LICENSE files to match ASF requirements 2017-06-12 10:47:56 -07:00
README.md [AIRFLOW-1736] Add HotelQuickly to Who Uses Airflow 2017-10-23 15:31:30 +05:30
TODO.md
UPDATING.md [AIRFLOW-1731] Set pythonpath for logging 2017-10-27 16:02:56 +02:00
init.sh [AIRFLOW-248] Add Apache license header to all files 2016-06-21 08:15:42 -07:00
migrations.sql [AIRFLOW-248] Add Apache license header to all files 2016-06-21 08:15:42 -07:00
run_tox.sh [AIRFLOW-248] Add Apache license header to all files 2016-06-21 08:15:42 -07:00
run_unit_tests.sh [AIRFLOW-911] Add coloring and timing to tests 2017-02-25 22:10:14 +01:00
setup.cfg [AIRFLOW-997] Update setup.cfg to point to Apache 2017-03-16 13:35:13 -07:00
setup.py [AIRFLOW-1315] Add Qubole File & Partition Sensors 2017-10-31 19:32:07 +05:30
tox.ini [AIRFLOW-489] Add API Framework 2016-11-27 19:44:31 +01:00

README.md

Airflow

PyPI version Build Status Coverage Status Documentation Join the chat at https://gitter.im/apache/incubator-airflow

NOTE: The transition from 1.8.0 (or before) to 1.8.1 (or after) requires uninstalling Airflow before installing the new version. The package name was changed from airflow to apache-airflow as of version 1.8.1.

Airflow is a platform to programmatically author, schedule, and monitor workflows.

When workflows are defined as code, they become more maintainable, versionable, testable, and collaborative.

Use Airflow to author workflows as directed acyclic graphs (DAGs) of tasks. The Airflow scheduler executes your tasks on an array of workers while following the specified dependencies. Rich command line utilities make performing complex surgeries on DAGs a snap. The rich user interface makes it easy to visualize pipelines running in production, monitor progress, and troubleshoot issues when needed.

Getting started

Please visit the Airflow Platform documentation for help with installing Airflow, getting a quick start, or a more complete tutorial.

For further information, please visit the Airflow Wiki.

Beyond the Horizon

Airflow is not a data streaming solution. Tasks do not move data from one to the other (though tasks can exchange metadata!). Airflow is not in the Spark Streaming or Storm space, it is more comparable to Oozie or Azkaban.

Workflows are expected to be mostly static or slowly changing. You can think of the structure of the tasks in your workflow as slightly more dynamic than a database structure would be. Airflow workflows are expected to look similar from a run to the next, this allows for clarity around unit of work and continuity.

Principles

  • Dynamic: Airflow pipelines are configuration as code (Python), allowing for dynamic pipeline generation. This allows for writing code that instantiates pipelines dynamically.
  • Extensible: Easily define your own operators, executors and extend the library so that it fits the level of abstraction that suits your environment.
  • Elegant: Airflow pipelines are lean and explicit. Parameterizing your scripts is built into the core of Airflow using the powerful Jinja templating engine.
  • Scalable: Airflow has a modular architecture and uses a message queue to orchestrate an arbitrary number of workers. Airflow is ready to scale to infinity.

User Interface

  • DAGs: Overview of all DAGs in your environment.

  • Tree View: Tree representation of a DAG that spans across time.

  • Graph View: Visualization of a DAG's dependencies and their current status for a specific run.

  • Task Duration: Total time spent on different tasks over time.

  • Gantt View: Duration and overlap of a DAG.

  • Code View: Quick way to view source code of a DAG.

Who uses Airflow?

As the Airflow community grows, we'd like to keep track of who is using the platform. Please send a PR with your company name and @githubhandle if you may.

Committers:

Currently officially using Airflow:

  1. Airbnb [@mistercrunch, @artwr]
  2. Agari [@r39132]
  3. allegro.pl [@kretes]
  4. AltX [@pedromduarte]
  5. Apigee [@btallman]
  6. ARGO Labs [California Data Collaborative]
  7. Astronomer [@schnie]
  8. Auth0 [@sicarul]
  9. Azri Solutions [@userimack]
  10. BandwidthX [@dineshdsharma]
  11. Bellhops
  12. BlaBlaCar [@puckel & @wmorin]
  13. Bloc [@dpaola2]
  14. BlueApron [@jasonjho & @matthewdavidhauser]
  15. Blue Yonder [@blue-yonder]
  16. California Data Collaborative powered by ARGO Labs
  17. Carbonite [@ajbosco]
  18. Celect [@superdosh & @chadcelect]
  19. Change.org [@change, @vijaykramesh]
  20. Checkr [@tongboh]
  21. Children's Hospital of Philadelphia Division of Genomic Diagnostics [@genomics-geek]
  22. City of San Diego [@MrMaksimize, @andrell81 & @arnaudvedy]
  23. Clairvoyant @shekharv
  24. Clover Health [@gwax & @vansivallab]
  25. Chartboost [@cgelman & @dclubb]
  26. ContaAzul [@bern4rdelli, @renanleme & @sabino]
  27. Cotap [@maraca & @richardchew]
  28. CreditCards.com[@vmAggies & @jay-wallaby]
  29. Credit Karma [@preete-dixit-ck & @harish-gaggar-ck & @greg-finley-ck]
  30. DataFox [@sudowork]
  31. Digital First Media [@duffn & @mschmo & @seanmuth]
  32. Drivy [@AntoineAugusti]
  33. Easy Taxi [@caique-lima & @WesleyBatista]
  34. eRevalue [@hamedhsn]
  35. evo.company [@orhideous]
  36. FreshBooks [@DinoCow]
  37. Fundera [@andyxhadji]
  38. GameWisp [@tjbiii & @theryanwalls]
  39. Gentner Lab [@neuromusic]
  40. Glassdoor [@syvineckruyk]
  41. GovTech GDS [@chrissng & @datagovsg]
  42. Grand Rounds [@richddr, @timz1290 & @wenever]
  43. Groupalia [@jesusfcr]
  44. Gusto [@frankhsu]
  45. Handshake [@mhickman]
  46. Handy [@marcintustin / @mtustin-handy]
  47. Healthjump [@miscbits]
  48. HBO[@yiwang]
  49. HelloFresh [@tammymendt & @davidsbatista & @iuriinedostup]
  50. Holimetrix [@thibault-ketterer]
  51. Hootsuite
  52. HotelQuickly [@zinuzoid]
  53. IFTTT [@apurvajoshi]
  54. iHeartRadio[@yiwang]
  55. imgix [@dclubb]
  56. ING
  57. Jampp
  58. Kiwi.com [@underyx]
  59. Kogan.com [@geeknam]
  60. Lemann Foundation [@fernandosjp]
  61. LendUp [@lendup]
  62. LetsBonus [@jesusfcr & @OpringaoDoTurno]
  63. liligo [@tromika]
  64. LingoChamp [@haitaoyao]
  65. Lucid [@jbrownlucid & @kkourtchikov]
  66. Lumos Labs [@rfroetscher & @zzztimbo]
  67. Lyft[@SaurabhBajaj]
  68. Madrone [@mbreining & @scotthb]
  69. Markovian [@al-xv, @skogsbaeck, @waltherg]
  70. Mercadoni [@demorenoc]
  71. Mercari [@yu-iskw]
  72. MiNODES [@dice89, @diazcelsa]
  73. MFG Labs
  74. mytaxi [@mytaxi]
  75. Nerdwallet
  76. New Relic [@marcweil]
  77. Nextdoor [@SivaPandeti, @zshapiro & @jthomas123]
  78. OfferUp
  79. OneFineStay [@slangwald]
  80. Open Knowledge International @vitorbaptista
  81. Pandora Media [@Acehaidrey]
  82. PAYMILL [@paymill & @matthiashuschle]
  83. PayPal [@r39132 & @jhsenjaliya]
  84. Postmates [@syeoryn]
  85. Pronto Tools [@zkan & @mesodiar]
  86. Qubole [@msumit]
  87. Quora
  88. Robinhood [@vineet-rh]
  89. Scaleway [@kdeldycke]
  90. Sense360 [@kamilmroczek]
  91. Shopkick [@shopkick]
  92. Sidecar [@getsidecar]
  93. SimilarWeb [@similarweb]
  94. SmartNews [@takus]
  95. Spotify [@znichols]
  96. Stackspace
  97. Stripe [@jbalogh]
  98. Tails.com [@alanmcruickshank]
  99. Thumbtack [@natekupp]
  100. Tictail
  101. T2 Systems [@unclaimedpants]
  102. United Airlines [@ilopezfr]
  103. Vente-Exclusive.com [@alexvanboxel]
  104. Vnomics [@lpalum]
  105. WePay [@criccomini & @mtagle]
  106. WeTransfer [@jochem]
  107. Whistle Labs [@ananya77041]
  108. WiseBanyan
  109. Wooga
  110. Xoom [@gepser & @omarvides]
  111. Yahoo!
  112. Zapier [@drknexus & @statwonk]
  113. Zendesk
  114. Zenly [@cerisier & @jbdalido]
  115. Zymergen
  116. 99 [@fbenevides, @gustavoamigo & @mmmaia]