{"id":6329,"date":"2025-04-11T16:49:43","date_gmt":"2025-04-11T07:49:43","guid":{"rendered":"https:\/\/blog.since2020.jp\/?p=6329"},"modified":"2025-04-11T16:49:43","modified_gmt":"2025-04-11T07:49:43","slug":"airflow_glossary","status":"publish","type":"post","link":"https:\/\/since2020.jp\/media\/airflow_glossary\/","title":{"rendered":"Airflow\u3068\u306f\uff1f\u6700\u65b0\u306e\u6a5f\u80fd\u3068\u5b9f\u8df5\u7684\u306a\u6d3b\u7528\u6cd5\u3092\u5fb9\u5e95\u89e3\u8aac"},"content":{"rendered":"\n<p>Airflow\u306e\u57fa\u672c\u6982\u5ff5\u304b\u3089\u6700\u65b0\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3001\u6d3b\u7528\u4e8b\u4f8b\u3001\u30e1\u30ea\u30c3\u30c8\u30fb\u30c7\u30e1\u30ea\u30c3\u30c8\u3001\u5c06\u6765\u5c55\u671b\u307e\u3067\u3092\u8a73\u7d30\u306b\u89e3\u8aac\u3002\u30c7\u30fc\u30bf\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u306e\u81ea\u52d5\u5316\u3092\u3088\u308a\u52b9\u7387\u7684\u306b\u884c\u3046\u305f\u3081\u306e\u30ce\u30a6\u30cf\u30a6\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002<\/p>\n\n\n<h2>\u306f\u3058\u3081\u306b<\/h2>\n<b>Airflow\u3068\u306f\uff1f<\/b>\r\n<p>Apache Airflow\u306f\u3001\u30c7\u30fc\u30bf\u51e6\u7406\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3092\u81ea\u52d5\u5316\u3057\u3001\u52b9\u7387\u7684\u306b\u7ba1\u7406\u3059\u308b\u305f\u3081\u306e\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3067\u3059\u30022025\u5e74\u73fe\u5728\u3001\u30c7\u30fc\u30bf\u30a8\u30f3\u30b8\u30cb\u30a2\u30ea\u30f3\u30b0\u3001\u6a5f\u68b0\u5b66\u7fd2\u3001\u30af\u30e9\u30a6\u30c9\u30aa\u30fc\u30b1\u30b9\u30c8\u30ec\u30fc\u30b7\u30e7\u30f3\u306e\u5206\u91ce\u3067\u5e83\u304f\u6d3b\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u672c\u8a18\u4e8b\u3067\u306f\u3001Airflow\u306e\u57fa\u672c\u6982\u5ff5\u3001\u6700\u65b0\u306e\u6a5f\u80fd\u3001\u6d3b\u7528\u4e8b\u4f8b\u3001\u30e1\u30ea\u30c3\u30c8\u30fb\u30c7\u30e1\u30ea\u30c3\u30c8\u3001\u5c06\u6765\u5c55\u671b\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\r\n<b>Airflow\u306e\u6700\u65b0\u60c5\u5831<\/b>\r\n<p>\u00a0Airflow 2.7.0\u4ee5\u964d\u306f\u3001<strong data-start=\"233\" data-end=\"267\">Python 3.7\u306e\u30b5\u30dd\u30fc\u30c8\u304c\u524a\u9664\u3055\u308c\u30013.8\u4ee5\u964d\u306e\u307f\u5bfe\u5fdc<\/strong>\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u65b0\u3057\u3044\u30b0\u30e9\u30d5\u30d3\u30e5\u30fc\u306e\u5c0e\u5165\u306a\u3069\u3001\u5927\u5e45\u306a\u6539\u826f\u304c\u52a0\u3048\u3089\u308c\u3066\u3044\u307e\u3059\u3002\u30af\u30e9\u30a6\u30c9\u74b0\u5883\u3067\u306e\u5229\u7528\u3082\u5897\u3048\u3001AWS\u306eManaged Workflows for Apache Airflow\uff08MWAA\uff09\u306a\u3069\u306e\u30de\u30cd\u30fc\u30b8\u30c9\u30b5\u30fc\u30d3\u30b9\u306e\u666e\u53ca\u304c\u9032\u3093\u3067\u3044\u307e\u3059\u3002<!-- notionvc: e3b1d599-28e0-4a57-b5c4-53dc506c3457 --><\/p>\r\n<p><!-- notionvc: 38e1c650-cfbd-4565-b072-7ddeb43e2971 --><\/p>\n\n<h2>Airflow\u306e\u57fa\u672c\u6982\u5ff5<\/h2>\n<b>Airflow\u3068\u306f\uff1f<\/b>\r\n<p>Airflow\u306f\u3001Python\u3092\u7528\u3044\u3066\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3092DAG\uff08Directed Acyclic Graph\uff09\u3068\u3057\u3066\u5b9a\u7fa9\u3057\u3001\u4f9d\u5b58\u95a2\u4fc2\u3092\u7ba1\u7406\u3057\u306a\u304c\u3089\u30bf\u30b9\u30af\u3092\u81ea\u52d5\u5b9f\u884c\u3059\u308b\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3067\u3059\u3002\u30c7\u30fc\u30bf\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u306e\u81ea\u52d5\u5316\u306b\u7279\u5316\u3057\u3066\u3044\u307e\u3059\u3002Airflow\u3067\u306f\u3001<code data-start=\"402\" data-end=\"409\">retry<\/code>, <code data-start=\"411\" data-end=\"424\">retry_delay<\/code>, <code data-start=\"426\" data-end=\"447\">on_failure_callback<\/code> \u306a\u3069\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u4f7f\u3044\u3001<strong data-start=\"460\" data-end=\"477\">\u67d4\u8edf\u306b\u30a8\u30e9\u30fc\u51e6\u7406\u3092\u8a2d\u8a08\u53ef\u80fd<\/strong>\u3067\u3059\u3002\u7279\u5b9a\u306e\u30bf\u30b9\u30af\u304c\u5931\u6557\u3057\u3066\u3082\u3001\u6307\u5b9a\u56de\u6570\u307e\u3067\u81ea\u52d5\u3067\u518d\u8a66\u884c\u3067\u304d\u307e\u3059\u3002<\/p>\r\n<b>Airflow\u306e\u91cd\u8981\u6027<\/b>\r\n<p>Airflow\u306f\u4ee5\u4e0b\u306e\u70b9\u3067\u91cd\u8981\u306a\u5f79\u5272\u3092\u679c\u305f\u3057\u307e\u3059\u3002<\/p>\r\n<p><strong>\u30fb\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306e\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u7ba1\u7406\uff1a<\/strong>\u00a0\u6642\u9593\u30d9\u30fc\u30b9\u3084\u30a4\u30d9\u30f3\u30c8\u30c8\u30ea\u30ac\u30fc\u3067\u30bf\u30b9\u30af\u3092\u5b9f\u884c\u3002<\/p>\r\n<p><strong>\u30fb\u30bf\u30b9\u30af\u306e\u4f9d\u5b58\u95a2\u4fc2\u7ba1\u7406\uff1a<\/strong>DAG\u3092\u5229\u7528\u3057\u3001\u30bf\u30b9\u30af\u306e\u5b9f\u884c\u9806\u5e8f\u3092\u8996\u899a\u5316\u3002<\/p>\r\n<p><strong>\u30fb\u30b9\u30b1\u30fc\u30e9\u30d6\u30eb\u306a\u51e6\u7406\u80fd\u529b\uff1a<\/strong>\u30af\u30e9\u30a6\u30c9\u74b0\u5883\u3084Kubernetes\u3068\u9023\u643a\u53ef\u80fd\u3002<\/p>\r\n<p><!-- notionvc: 459cfed3-7874-44f9-b1cd-a5abf4a66e1b --><\/p>\n\n<h2>Airflow\u306e\u30d7\u30ed\u30bb\u30b9\u3068\u624b\u6cd5<\/h2>\n<b>Airflow\u306e\u30d7\u30ed\u30bb\u30b9<\/b>\r\n<p>Airflow\u306e\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306f\u4ee5\u4e0b\u306e\u30b9\u30c6\u30c3\u30d7\u3067\u69cb\u7bc9\u3055\u308c\u307e\u3059\u3002<\/p>\r\n<ol>\r\n\t<li><strong>DAG\uff08Directed Acyclic Graph\uff09\u306e\u4f5c\u6210<\/strong><\/li>\r\n\t<li><strong>\u30bf\u30b9\u30af\u306e\u5b9a\u7fa9\u3068\u4f9d\u5b58\u95a2\u4fc2\u306e\u8a2d\u5b9a<\/strong><\/li>\r\n\t<li><strong>\u30b9\u30b1\u30b8\u30e5\u30fc\u30ea\u30f3\u30b0\u3068\u5b9f\u884c<\/strong><\/li>\r\n\t<li><strong>\u30ed\u30b0\u7ba1\u7406\u3068\u30a8\u30e9\u30fc\u76e3\u8996<\/strong><\/li>\r\n<\/ol>\r\n<b>Kubernetes\u3068\u306e\u7d71\u5408<\/b>\r\n<p>KubernetesExecutor\u3067\u306f\u3001\u5404\u30bf\u30b9\u30af\u304c\u72ec\u7acb\u3057\u305fPod\u3068\u3057\u3066\u5b9f\u884c\u3055\u308c\u308b\u305f\u3081\u3001<strong data-start=\"667\" data-end=\"680\">\u52d5\u7684\u306b\u30b9\u30b1\u30fc\u30eb\u53ef\u80fd<\/strong>\u3067\u3059\u304c\u3001Kubernetes\u306e\u77e5\u8b58\u3084\u6a29\u9650\u7ba1\u7406\u304c\u5fc5\u8981\u3067\u3001<strong data-start=\"707\" data-end=\"743\">Cluster Autoscaler\u3068\u306e\u4f75\u7528\u304c\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9<\/strong>\u3067\u3059\u3002<\/p>\r\n<p><!-- notionvc: 05dd3fe8-eece-4422-880f-85b0a16546df --><\/p>\n\n<h2>Airflow\u306e\u5fdc\u7528\u5206\u91ce<\/h2>\n<b>\u30c7\u30fc\u30bf\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u306e\u81ea\u52d5\u5316<\/b>\r\n<p>ETL\uff08Extract, Transform, Load\uff09\u30d7\u30ed\u30bb\u30b9\u306e\u81ea\u52d5\u5316\u304c\u53ef\u80fd\u306b\u306a\u308a\u3001\u5927\u898f\u6a21\u30c7\u30fc\u30bf\u306e\u52b9\u7387\u7684\u306a\u51e6\u7406\u304c\u5b9f\u73fe\u3057\u307e\u3059\u3002<\/p>\r\n<b>\u6a5f\u68b0\u5b66\u7fd2\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306e\u7ba1\u7406<\/b>\r\n<p>\u00a0Airflow\u306f<strong data-start=\"833\" data-end=\"889\">MLflow\u3084KubeFlow\u306a\u3069\u306e\u30c4\u30fc\u30eb\u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u518d\u73fe\u6027\u306e\u3042\u308bML\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u306e\u69cb\u7bc9\u304c\u53ef\u80fd<\/strong>\u3067\u3059\u3002<\/p>\r\n<p>&nbsp;<\/p>\r\n<b>\u30af\u30e9\u30a6\u30c9\u74b0\u5883\u3067\u306e\u30c7\u30fc\u30bf\u30aa\u30fc\u30b1\u30b9\u30c8\u30ec\u30fc\u30b7\u30e7\u30f3<\/b>\r\n<p>AWS MWAA\u3084Google Cloud Composer\u306a\u3069\u306e\u30de\u30cd\u30fc\u30b8\u30c9\u30b5\u30fc\u30d3\u30b9\u3068\u7d71\u5408\u3059\u308b\u3053\u3068\u3067\u3001\u904b\u7528\u8ca0\u8377\u3092\u5927\u5e45\u306b\u8efd\u6e1b\u3067\u304d\u307e\u3059\u3002<\/p>\r\n<p><!-- notionvc: 46ad461d-7510-460d-81c9-ba0ab3d3f759 --><\/p>\n\n<h2>Airflow\u306e\u30e1\u30ea\u30c3\u30c8\u3068\u30c7\u30e1\u30ea\u30c3\u30c8<\/h2>\n<b>Airflow\u306e\u30e1\u30ea\u30c3\u30c8<\/b>\r\n<ul>\r\n\t<li><strong>\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u3067\u7121\u6599<\/strong><\/li>\r\n\t<li><strong>Python\u30d9\u30fc\u30b9\u3067\u67d4\u8edf\u306b\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u53ef\u80fd<\/strong><\/li>\r\n\t<li><strong>\u30b9\u30b1\u30fc\u30e9\u30d6\u30eb\u306a\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u7ba1\u7406\u304c\u53ef\u80fd<\/strong><\/li>\r\n<\/ul>\r\n<b>Airflow\u306e\u30c7\u30e1\u30ea\u30c3\u30c8<\/b>\r\n<ul>\r\n\t<li><strong>\u5b66\u7fd2\u30b3\u30b9\u30c8\u304c\u9ad8\u3044<\/strong><\/li>\r\n\t<li><strong>\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u51e6\u7406\u306b\u306f\u4e0d\u5411\u304d<\/strong><\/li>\r\n\t<li><strong>\u521d\u671f\u8a2d\u5b9a\u3068\u904b\u7528\u306b\u624b\u9593\u304c\u304b\u304b\u308b<\/strong><\/li>\r\n<\/ul>\r\n<p><!-- notionvc: 24a43c7f-cad2-4d9e-a1ae-f5ef8644d093 --><\/p>\n\n<h2>Airflow\u306e\u5c06\u6765\u5c55\u671b<\/h2>\n<b>Airflow 3.0\u3078\u306e\u671f\u5f85<\/b>\r\n<p>2025\u5e74\u306b\u306fAirflow 3.0\u306e\u30ea\u30ea\u30fc\u30b9\u304c\u4e88\u5b9a\u3055\u308c\u3066\u304a\u308a\u3001\u65b0\u305f\u306b\u30c7\u30fc\u30bf\u30a2\u30bb\u30c3\u30c8\u7ba1\u7406\u3084DAG\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u6a5f\u80fd\u306e\u5c0e\u5165\u304c\u691c\u8a0e\u3055\u308c\u3066\u3044\u307e\u3059<\/p>\r\n<b>\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306e\u5f37\u5316<\/b>\r\n<p>\u8fd1\u5e74\u3001\u6a5f\u5fae\u306a\u69cb\u6210\u60c5\u5831\u304c\u6f0f\u6d29\u3059\u308b\u30ea\u30b9\u30af\u304c\u6307\u6458\u3055\u308c\u3066\u304a\u308a\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u5f37\u5316\u304c\u9032\u3081\u3089\u308c\u3066\u3044\u307e\u3059\u3002\u4eca\u5f8c\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3067\u306e\u6539\u5584\u304c\u671f\u5f85\u3055\u308c\u307e\u3059\u3002<\/p>\r\n<p><!-- notionvc: 01702f55-eecd-4b75-87a2-821ebc4b2360 --><\/p>\n\n<h2>\u307e\u3068\u3081<\/h2>\n<p>Apache Airflow\u306f\u3001\u30c7\u30fc\u30bf\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306e\u81ea\u52d5\u5316\u3068\u7ba1\u7406\u306b\u304a\u3044\u3066\u975e\u5e38\u306b\u6709\u7528\u306a\u30c4\u30fc\u30eb\u3067\u3042\u308a\u3001\u30c7\u30fc\u30bf\u30a8\u30f3\u30b8\u30cb\u30a2\u30ea\u30f3\u30b0\u3084\u6a5f\u68b0\u5b66\u7fd2\u3001\u30af\u30e9\u30a6\u30c9\u74b0\u5883\u3067\u306e\u6d3b\u7528\u304c\u62e1\u5927\u3057\u3066\u3044\u307e\u3059\u3002\u4eca\u5f8c\u3082\u65b0\u6a5f\u80fd\u304c\u8ffd\u52a0\u3055\u308c\u308b\u3053\u3068\u3067\u3001\u305d\u306e\u53ef\u80fd\u6027\u306f\u3055\u3089\u306b\u5e83\u304c\u308b\u3067\u3057\u3087\u3046\u3002\u672c\u8a18\u4e8b\u3092\u53c2\u8003\u306b\u3001Airflow\u306e\u5c0e\u5165\u3092\u691c\u8a0e\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<!-- notionvc: bf6057a0-81cf-4585-b6db-6e9dae5fb792 --><\/p>","protected":false},"excerpt":{"rendered":"<p>Airflow\u306e\u57fa\u672c\u6982\u5ff5\u304b\u3089\u6700\u65b0\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3001\u6d3b\u7528\u4e8b\u4f8b\u3001\u30e1\u30ea\u30c3\u30c8\u30fb\u30c7\u30e1\u30ea\u30c3\u30c8\u3001\u5c06\u6765\u5c55\u671b\u307e\u3067\u3092\u8a73\u7d30\u306b\u89e3\u8aac\u3002\u30c7\u30fc\u30bf\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u306e\u81ea\u52d5\u5316\u3092\u3088\u308a\u52b9\u7387\u7684\u306b\u884c\u3046\u305f\u3081\u306e\u30ce\u30a6\u30cf\u30a6\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002 \u306f\u3058\u3081\u306b Airflow\u3068\u306f\uff1f Apac [&hellip;]<\/p>\n","protected":false},"author":22,"featured_media":6222,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"content-type":"","swell_btn_cv_data":"","footnotes":"","_wp_rev_ctl_limit":""},"categories":[1249],"tags":[558,59],"class_list":["post-6329","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-knowledge","tag-airflow","tag-data-driven"],"_links":{"self":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts\/6329","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/users\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/comments?post=6329"}],"version-history":[{"count":1,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts\/6329\/revisions"}],"predecessor-version":[{"id":6507,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts\/6329\/revisions\/6507"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/media\/6222"}],"wp:attachment":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/media?parent=6329"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/categories?post=6329"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/tags?post=6329"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}