<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Apache DolphinScheduler on Medium]]></title>
        <description><![CDATA[Stories by Apache DolphinScheduler on Medium]]></description>
        <link>https://medium.com/@ApacheDolphinScheduler?source=rss-8210139f433b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Xhp5andXLUcD4NDzUogK2A.jpeg</url>
            <title>Stories by Apache DolphinScheduler on Medium</title>
            <link>https://medium.com/@ApacheDolphinScheduler?source=rss-8210139f433b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 10:52:32 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ApacheDolphinScheduler/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Apache DolphinScheduler September 2026 Community Contribution Report]]></title>
            <link>https://medium.com/@ApacheDolphinScheduler/apache-dolphinscheduler-september-2026-community-contribution-report-a53a0f2c10fe?source=rss-8210139f433b------2</link>
            <guid isPermaLink="false">https://medium.com/p/a53a0f2c10fe</guid>
            <dc:creator><![CDATA[Apache DolphinScheduler]]></dc:creator>
            <pubDate>Mon, 09 Nov 2026 02:03:42 GMT</pubDate>
            <atom:updated>2026-11-09T02:03:42.280Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Reporting Period</strong>: September 1, 2026 — September 30, 2026 <strong>Data Source</strong>: Merged commit history on the origin/dev branch of Apache DolphinScheduler <strong>Report Version</strong>: v1.0 · Published: October 2026</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1Tv9NY1FQexVW_rc_AdXvQ.png" /></figure><h3>1. Community Contribution Overview</h3><h3>1.1 Core Metrics</h3><ul><li><strong>Merged Pull Requests</strong>: 31</li><li><strong>Contributors</strong>: 17</li><li><strong>Lines Added</strong>: +6,555</li><li><strong>Lines Removed</strong>: -631</li><li><strong>Net Change</strong>: +5,924</li><li><strong>Documentation Files Touched</strong>: 17</li><li><strong>Test Files Touched</strong>: 40</li><li><strong>Modules Touched</strong>: 12</li></ul><h3>1.2 Contribution Breakdown by Dimension</h3><ul><li><strong>Features</strong>: 11 PRs (35.5%)</li><li><strong>Performance</strong>: 0 PRs (0.0%)</li><li><strong>Bug Fixes</strong>: 14 PRs (45.2%)</li><li><strong>Architecture Improvements</strong>: 6 PRs (19.4%)</li></ul><p><strong>Trend Commentary</strong>: This month’s contributions were led by <strong>bug fixes</strong>, with 14 PRs (45.2%), followed by features with 11 PRs (35.5%), architecture improvements with 6 PRs (19.4%), and no performance work. Stability maintenance and defect resolution were the focus this month, reflecting the community’s continued attention to system reliability.</p><h3>1.3 Modules Most Affected</h3><ul><li><strong>1. dolphinscheduler-task-plugin</strong> — 8 PRs · +1,555 / -104 · net +1,451</li><li><strong>2. dolphinscheduler-ui</strong> — 6 PRs · +167 / -44 · net +123</li><li><strong>3. dolphinscheduler-api</strong> — 6 PRs · +460 / -135 · net +325</li><li><strong>4. dolphinscheduler-common</strong> — 5 PRs · +167 / -14 · net +153</li><li><strong>5. docs</strong> — 5 PRs · +129 / -6 · net +123</li><li><strong>6. dolphinscheduler-master</strong> — 4 PRs · +2,563 / -53 · net +2,510</li><li><strong>7. dolphinscheduler-dao</strong> — 3 PRs · +131 / -11 · net +120</li><li><strong>8. dolphinscheduler-alert</strong> — 2 PRs · +169 / -7 · net +162</li><li><strong>9. .github</strong> — 2 PRs · +46 / -46 · net +0</li><li><strong>10. deploy</strong> — 2 PRs · +21 / -4 · net +17</li><li><strong>11. dolphinscheduler-datasource-plugin</strong> — 1 PR · +332 / -2 · net +330</li><li><strong>12. dolphinscheduler-worker</strong> — 1 PR · +8 / -0 · net +8</li><li><strong>13. misc</strong> — 6 PRs · +807 / -205 · net +602</li></ul><p><strong>Module Commentary</strong>: Changes spanned 13 modules this month. <strong>dolphinscheduler-task-plugin (8 PRs)</strong>, <strong>dolphinscheduler-ui (6 PRs)</strong>, and <strong>dolphinscheduler-api (6 PRs)</strong> were the modules receiving the most community attention. Although <strong>dolphinscheduler-master</strong> saw only 4 PRs, it contributed the largest code change this month (+2,563 lines), focusing on core stability fixes such as task and workflow state recovery.</p><h3>2. Core Contributors and Featured Contributions</h3><blockquote><em>Composite score formula (for reference only): </em><em>8 × Features + 10 × Performance + 9 × Bug Fixes + 6 × Architecture Improvements + Lines Added / 300 + Lines Removed / 800</em></blockquote><h3>2.1 Contributor Ranking</h3><ul><li><strong>1. xiangzihao</strong> — Architecture Improvements · 5 PRs · +469 / -226 · score 36.85</li><li><strong>2. Kerwin</strong> — Bug Fixes · 4 PRs · +256 / -122 · score 33.01</li><li><strong>3. ThreeFire1</strong> — Bug Fixes · 2 PRs · +1,973 / -47 · score 24.64</li><li><strong>4. chovygo</strong> — Features · 3 PRs · +199 / -31 · score 22.7</li><li><strong>5. suyc</strong> — Features · 2 PRs · +1,448 / -55 · score 21.9</li><li><strong>6. csurong</strong> — Bug Fixes · 2 PRs · +143 / -8 · score 18.49</li><li><strong>7. mengzhe gan</strong> — Features · 2 PRs · +104 / -4 · score 17.35</li><li><strong>8. Moouna</strong> — Bug Fixes · 2 PRs · +53 / -30 · score 17.21</li><li><strong>9. huangsheng</strong> — Bug Fixes · 1 PR · +386 / -5 · score 10.29</li><li><strong>10. Yanjun Qiu</strong> — Bug Fixes · 1 PR · +329 / -30 · score 10.13</li><li><strong>11. silvermissile</strong> — Features · 1 PR · +466 / -13 · score 9.57</li><li><strong>12. Ethan</strong> — Features · 1 PR · +422 / -43 · score 9.46</li><li><strong>13. Itachi_194109</strong> — Bug Fixes · 1 PR · +132 / -7 · score 9.45</li><li><strong>14. Adarsh Mishra</strong> — Bug Fixes · 1 PR · +2 / -2 · score 9.01</li><li><strong>15. wank125</strong> — Features · 1 PR · +163 / -4 · score 8.55</li><li><strong>16. Jakub Kondrat</strong> — Features · 1 PR · +9 / -4 · score 8.04</li><li><strong>17. Sharang Gupta</strong> — Architecture Improvements · 1 PR · +1 / -0 · score 6.0</li></ul><h3>2.2 Featured Contributions</h3><h4>Case 1: Fix SQL Task Query Result Alert Not Being Sent (PR #18549)</h4><ul><li><strong>Contributor</strong>: suyc</li><li><strong>Scale</strong>: +1,184 / -20 lines, spanning 9 modules including dolphinscheduler-worker, dolphinscheduler-task-plugin, dolphinscheduler-alert, dolphinscheduler-master, and dolphinscheduler-dao</li><li><strong>What Changed</strong>: Fixed the issue where SQL task query result alerts were not sent in certain scenarios, involving the Worker and SQL Task paths</li><li><strong>Community Value</strong>: The largest defect fix by code volume this month, resolving missing SQL task result alerts and improving the reliability of the alerting path</li></ul><h4>Case 2: Keep Task Success Retryable After Persistence Failure in Master (PR #18708)</h4><ul><li><strong>Contributor</strong>: ThreeFire1</li><li><strong>Scale</strong>: +1,344 / -32 lines, in the dolphinscheduler-master module</li><li><strong>What Changed</strong>: Fixed the issue where task success was not retryable after a persistence failure, ensuring retries remain possible when state persistence fails</li><li><strong>Community Value</strong>: Improves Master state consistency in persistence-failure scenarios and reduces the risk of lost task states</li></ul><h4>Case 3: Task Plugin Supports Month/Week Boundary Date Offset Placeholders (PR #18726)</h4><ul><li><strong>Contributor</strong>: Ethan</li><li><strong>Scale</strong>: +422 / -43 lines, in dolphinscheduler-task-plugin and docs</li><li><strong>What Changed</strong>: Added month and week boundary placeholders with date offset support to the task plugin, extending the expressiveness of time parameters</li><li><strong>Community Value</strong>: Enhances the flexibility of scheduling task time parameters, supporting month/week-based scheduling and offset calculation scenarios</li></ul><h4>Case 4: Datasource Supports Custom Kyuubi JDBC URLs (PR #18727)</h4><ul><li><strong>Contributor</strong>: silvermissile</li><li><strong>Scale</strong>: +466 / -13 lines, in dolphinscheduler-datasource-plugin, dolphinscheduler-ui, and docs</li><li><strong>What Changed</strong>: Added custom JDBC URL support for the Kyuubi datasource, with matching support in the UI and documentation</li><li><strong>Community Value</strong>: Improves the flexibility of connecting to Kyuubi datasources, making it easier for users to adapt connection parameters to different deployment topologies</li></ul><h3>3. Key Community Project Progress</h3><h3>3.1 Scheduling Engine Stability</h3><p>The community continued to invest in the core scheduling engine (Master) this month, completing several fixes around the reliability of task and workflow state recovery:</p><ul><li><strong>#18708</strong> (Master) — Task success retryable after persistence failure · <strong>Risk: High</strong></li><li><strong>#18722</strong> (Master) — Workflow finish retryable after transaction rollback · <strong>Risk: High</strong></li><li><strong>#18694</strong> (Master) — Fix ignored dependent task check interval · <strong>Risk: Medium</strong></li><li><strong>#18549</strong> (Worker/SQL Task) — Fix SQL task query result alert not being sent · <strong>Risk: High</strong></li></ul><h3>3.2 Feature Enhancements</h3><p>The community completed several feature enhancements this month across task parameters, datasource connectivity, and workflow management:</p><ul><li><strong>#18726</strong> (TaskPlugin) — Support month/week boundary date offset placeholders</li><li><strong>#18727</strong> (Datasource) — Support custom Kyuubi JDBC URLs</li><li><strong>#18743</strong> (HTTP) — Support request parameters for all HTTP request methods</li><li><strong>#18658</strong> (API/DAO/UI) — Support field sorting on the workflow definition list</li><li><strong>#18729</strong> (API) — Return target workflow codes from the batch copy API</li></ul><h3>3.3 Registry Stability</h3><p>The community completed one key fix for the Registry JDBC heartbeat mechanism this month (PR #18416, +329/-30 lines), handling expired JDBC heartbeat sessions and improving the robustness of the registry when nodes go offline unexpectedly.</p><h3>3.4 Documentation and Usability Improvements</h3><p>Documentation and usability improvements were an important part of this month’s work, including:</p><ul><li>Added documentation for custom Kyuubi JDBC URLs</li><li>Shell task documentation consistency fixes</li><li>Added documentation for month/week boundary and date offset placeholders</li><li>Documentation for HTTP task response body handling on non-200 status codes</li></ul><h3>4. Issues Fixed This Month</h3><h3>4.1 Fix Details</h3><ul><li><strong>P1</strong> · Master task success not retryable after persistence failure — Impact: Task state consistency · Fix: #18708 · <strong>Risk: High</strong></li><li><strong>P2</strong> · Master workflow finish not retryable after transaction rollback — Impact: Workflow state consistency · Fix: #18722 · <strong>Risk: High</strong></li><li><strong>P3</strong> · SQL task query result alert not being sent — Impact: Alerting path · Fix: #18549 · <strong>Risk: High</strong></li><li><strong>P4</strong> · Master dependent task check interval ignored — Impact: Task dependency checking · Fix: #18694 · <strong>Risk: Medium</strong></li><li><strong>P5</strong> · Registry expired JDBC heartbeat sessions not handled — Impact: Registry robustness · Fix: #18416 · <strong>Risk: Medium</strong></li><li><strong>P6</strong> · Schedules not taken offline when switching workflow versions — Impact: Scheduling accuracy · Fix: #18732 · <strong>Risk: Medium</strong></li><li><strong>P7</strong> · Target task relations not used when switching workflow versions — Impact: Version switch correctness · Fix: #18734 · <strong>Risk: Medium</strong></li><li><strong>P8</strong> · HTTP task response body lost on non-200 status codes — Impact: HTTP task usability · Fix: #18688 · <strong>Risk: Medium</strong></li><li><strong>P9</strong> · HTTP task DELETE requests did not carry parameters — Impact: HTTP task usability · Fix: #18704 · <strong>Risk: Medium</strong></li><li><strong>P10</strong> · SQL task numeric precision lost / long out parameters not normalized — Impact: SQL task correctness · Fix: #18716 · <strong>Risk: Medium</strong></li><li><strong>P11</strong> · Whitespace after SQL statement terminators not handled — Impact: SQL parsing robustness · Fix: #18683 · <strong>Risk: Medium</strong></li><li><strong>P12</strong> · Nested bodyParams structure broken when substituting ${msg} in alerts — Impact: Alert content correctness · Fix: #18741 · <strong>Risk: Medium</strong></li><li><strong>P13</strong> · Instance filter did not preserve workflow definition query — Impact: Frontend query accuracy · Fix: #18745 · <strong>Risk: Low</strong></li><li><strong>P14</strong> · workflowDefinition not guarded before reading releaseState — Impact: Frontend robustness · Fix: #18670 · <strong>Risk: Low</strong></li></ul><h3>Appendix: Full List of Merged PRs This Month</h3><h3>Features (11)</h3><ul><li><a href="https://github.com/apache/dolphinscheduler/pull/18668"><strong>18668</strong></a> — [Improvement-18671][Helm] Replace bitnamilegacy/zookeeper image with soldevelo/zookeeper (#18668) — <em>Jakub Kondrat</em> · 2026–10–05 · deploy · +9 / -4</li><li><a href="https://github.com/apache/dolphinscheduler/pull/18658"><strong>18658</strong></a> — [Improvement-18666] Support field sorting on workflow definition list (#18658) — <em>chovygo</em> · 2026–10–08 · dolphinscheduler-api, dolphinscheduler-dao, dolphinscheduler-ui · +154 / -24</li><li><a href="https://github.com/apache/dolphinscheduler/pull/18685"><strong>18685</strong></a> — [Improvement-18684][TaskPlugin] Trim whitespace in ShellParameters.checkParameters (#18685) — <em>chovygo</em> · 2026–10–12 · dolphinscheduler-task-plugin · +31 / -1</li><li><a href="https://github.com/apache/dolphinscheduler/pull/18715"><strong>18715</strong></a> — [Improvement-18712][E2E] Fix flaky e2e test (#18715) — <em>xiangzihao</em> · 2026–10–16 · dolphinscheduler-ui, misc · +316 / -153</li><li><a href="https://github.com/apache/dolphinscheduler/pull/18676"><strong>18676</strong></a> — [Improvement-18675][API] Return TASK_DEFINE_NOT_EXIST instead of NPE when taskRelation references missing task definitions (#18676) — <em>wank125</em> · 2026–10–21 · dolphinscheduler-api, misc · +163 / -4</li><li><a href="https://github.com/apache/dolphinscheduler/pull/18717"><strong>18717</strong></a> — [Improvement-18714][Task-Sql] Avoid redundant serialization in alert content limiting and log result rows incrementally in query result processing in SqlTask (#18717) — <em>suyc</em> · 2026–10–23 · dolphinscheduler-task-plugin · +264 / -35</li><li><a href="https://github.com/apache/dolphinscheduler/pull/18729"><strong>18729</strong></a> — [Improvement][API] Return target workflow codes from batch copy API (#18729) — <em>Kerwin</em> · 2026–10–23 · dolphinscheduler-api · +183 / -110</li><li><a href="https://github.com/apache/dolphinscheduler/pull/18726"><strong>18726</strong></a> — [Feature-16510][TaskPlugin] Support month and week boundary placeholders with date offset (#18726) — <em>Ethan</em> · 2026–10–23 · docs, dolphinscheduler-task-plugin · +422 / -43</li><li><a href="https://github.com/apache/dolphinscheduler/pull/18703"><strong>18703</strong></a> — [Improvement-18699][API] Fix inverted session expiry check in createSessionIfAbsent (#18703) — <em>mengzhe gan</em> · 2026–10–23 · dolphinscheduler-api · +37 / -1</li><li><a href="https://github.com/apache/dolphinscheduler/pull/18727"><strong>18727</strong></a> — [Feature-18725][Datasource] Support custom Kyuubi JDBC URLs (#18727) — <em>silvermissile</em> · 2026–10–24 · docs, dolphinscheduler-datasource-plugin, dolphinscheduler-ui · +466 / -13</li><li><a href="https://github.com/apache/dolphinscheduler/pull/18743"><strong>18743</strong></a> — [Feature][HTTP] Support request parameters for all http request methods (#18743) — <em>Moouna</em> · 2026–10–28 · dolphinscheduler-common, dolphinscheduler-task-plugin, dolphinscheduler-ui · +51 / -28</li></ul><h3>Bug Fixes (14)</h3><ul><li><a href="https://github.com/apache/dolphinscheduler/pull/18670"><strong>18670</strong></a> — [Fix-18448][UI] Guard workflowDefinition before reading releaseState (#18670) — <em>Adarsh Mishra</em> · 2026–10–06 · dolphinscheduler-ui · +2 / -2</li><li><a href="https://github.com/apache/dolphinscheduler/pull/18683"><strong>18683</strong></a> — [Fix-18682][Common] Handle whitespace after SQL statement terminators (#18683) — <em>csurong</em> · 2026–10–09 · dolphinscheduler-common · +28 / -1</li><li><a href="https://github.com/apache/dolphinscheduler/pull/18688"><strong>18688</strong></a> — [Fix-18687][HTTP Task] Preserve response bodies for non-200 status codes (#18688) — <em>csurong</em> · 2026–10–12 · docs, dolphinscheduler-common, dolphinscheduler-task-plugin · +115 / -7</li><li><a href="https://github.com/apache/dolphinscheduler/pull/18549"><strong>18549</strong></a> — [Fix-17854] [Worker&amp;SQL Task] Fix SQL task query result alert not being sent (#18549) — <em>suyc</em> · 2026–10–13 · deploy, docs, dolphinscheduler-alert, dolphinscheduler-common, dolphinscheduler-dao, dolphinscheduler-master, dolphinscheduler-task-plugin, dolphinscheduler-worker, misc · +1,184 / -20</li><li><a href="https://github.com/apache/dolphinscheduler/pull/18694"><strong>18694</strong></a> — [Fix-18692][Master] Fix ignored dependent task check interval (#18694) — <em>huangsheng</em> · 2026–10–14 · dolphinscheduler-master · +386 / -5</li><li><a href="https://github.com/apache/dolphinscheduler/pull/18704"><strong>18704</strong></a> — [Fix-18696][Task] Send HTTP Parameters with DELETE requests (#18704) — <em>mengzhe gan</em> · 2026–10–15 · dolphinscheduler-common, dolphinscheduler-task-plugin · +67 / -3</li><li><a href="https://github.com/apache/dolphinscheduler/pull/18708"><strong>18708</strong></a> — [Fix-18707][Master] Keep task success retryable after persistence failure (#18708) — <em>ThreeFire1</em> · 2026–10–16 · dolphinscheduler-master · +1,344 / -32</li><li><a href="https://github.com/apache/dolphinscheduler/pull/18716"><strong>18716</strong></a> — [Fix-18713] Preserve numeric precision and normalize long out parameters in sql task (#18716) — <em>xiangzihao</em> · 2026–10–16 · dolphinscheduler-task-plugin · +95 / -5</li><li><a href="https://github.com/apache/dolphinscheduler/pull/18416"><strong>18416</strong></a> — [Fix-18274][Registry] Handle expired JDBC heartbeat sessions (#18416) — <em>Yanjun Qiu</em> · 2026–10–20 · misc · +329 / -30</li><li><a href="https://github.com/apache/dolphinscheduler/pull/18722"><strong>18722</strong></a> — [Fix-18721][Master] Keep workflow finish retryable after transaction rollback (#18722) — <em>ThreeFire1</em> · 2026–10–21 · dolphinscheduler-master · +629 / -15</li><li><a href="https://github.com/apache/dolphinscheduler/pull/18732"><strong>18732</strong></a> — [Fix-18731][API] Offline schedules when switching workflow versions (#18732) — <em>Kerwin</em> · 2026–10–23 · dolphinscheduler-api · +27 / -0</li><li><a href="https://github.com/apache/dolphinscheduler/pull/18734"><strong>18734</strong></a> — [Fix-18733][API] Use target task relations when switching versions (#18734) — <em>Kerwin</em> · 2026–10–24 · dolphinscheduler-api · +45 / -11</li><li><a href="https://github.com/apache/dolphinscheduler/pull/18741"><strong>18741</strong></a> — [Fix-18740][Alert] Keep nested bodyParams structure when substituting ${msg} (#18741) — <em>Itachi_194109</em> · 2026–10–28 · dolphinscheduler-alert · +132 / -7</li><li><a href="https://github.com/apache/dolphinscheduler/pull/18745"><strong>18745</strong></a> — [Fix][UI] Preserve workflow definition query in instance filter (#18745) — <em>Moouna</em> · 2026–10–28 · dolphinscheduler-ui · +2 / -2</li></ul><h3>Architecture Improvements (6)</h3><ul><li><a href="https://github.com/apache/dolphinscheduler/pull/18674"><strong>18674</strong></a> — [Chore] Fix dependency ci error- #18674 (#18674) — <em>xiangzihao</em> · 2026–10–05 · misc · +7 / -0</li><li><a href="https://github.com/apache/dolphinscheduler/pull/18681"><strong>18681</strong></a> — [Doc-18680] Fix Shell task documentation inconsistencies (#18681) — <em>chovygo</em> · 2026–10–10 · docs · +14 / -6</li><li><a href="https://github.com/apache/dolphinscheduler/pull/18711"><strong>18711</strong></a> — [Chore] bump up ci dependency version (#18711) — <em>xiangzihao</em> · 2026–10–16 · .github · +45 / -45</li><li><a href="https://github.com/apache/dolphinscheduler/pull/18723"><strong>18723</strong></a> — [Chore] Fix flaky FileManageE2ETest test (#18723) — <em>xiangzihao</em> · 2026–10–20 · misc · +6 / -23</li><li><a href="https://github.com/apache/dolphinscheduler/pull/18730"><strong>18730</strong></a> — [Chore] Support lychee v0.24 fragment config (#18730) — <em>Kerwin</em> · 2026–10–23 · .github · +1 / -1</li><li><a href="https://github.com/apache/dolphinscheduler/pull/18746"><strong>18746</strong></a> — [Chore][Dao] Fix TenantMapperTest.testExistTenant (#18746) — <em>Sharang Gupta</em> · 2026–10–29 · dolphinscheduler-dao · +1 / -0</li></ul><h3>Acknowledgements</h3><p>We thank the <strong>17</strong> contributors who contributed code to the Apache DolphinScheduler community in October 2026: xiangzihao, Kerwin, ThreeFire1, chovygo, suyc, csurong, mengzhe gan, Moouna, huangsheng, Yanjun Qiu, silvermissile, Ethan, Itachi_194109, Adarsh Mishra, wank125, Jakub Kondrat, Sharang Gupta</p><p>Every contribution helps the DolphinScheduler community grow in a healthy and sustainable way.</p><p><em>Data Source: Statistics based on merged commit history on the </em><em>origin/dev branch of Apache DolphinScheduler.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a53a0f2c10fe" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Apache DolphinScheduler September 2026 Community Contribution Report]]></title>
            <link>https://medium.com/@ApacheDolphinScheduler/apache-dolphinscheduler-september-2026-community-contribution-report-a07713d14a12?source=rss-8210139f433b------2</link>
            <guid isPermaLink="false">https://medium.com/p/a07713d14a12</guid>
            <dc:creator><![CDATA[Apache DolphinScheduler]]></dc:creator>
            <pubDate>Mon, 26 Oct 2026 01:33:52 GMT</pubDate>
            <atom:updated>2026-10-26T01:33:52.681Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Reporting Period</strong>: September 1, 2026 — September 30, 2026<br><strong>Data Source</strong>: Merged commit history on the origin/dev branch of Apache DolphinScheduler<br><strong>Report Version</strong>: v1.0 · Published: October 2026</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d6vJXgQctgSOgnByBZQQdA.png" /></figure><h3>1. Community Contribution Overview</h3><h3>1.1 Core Metrics</h3><p>MetricThis MonthMerged Pull Requests<strong>25</strong>Contributors<strong>15</strong>Lines Added<strong>+3,511</strong>Lines Removed<strong>-492</strong>Net Change<strong>+3,019</strong>Documentation Files Touched<strong>21</strong>Test Files Touched<strong>27</strong>Modules Touched<strong>10</strong></p><h3>1.2 Contribution Breakdown by Dimension</h3><p>DimensionPRsShareFeatures832.0%Performance00.0%Bug Fixes832.0%Architecture Improvements936.0%</p><p><strong>Trend Commentary</strong>: This month’s contributions present a balanced, “three-pillar” structure across features, bug fixes, and architecture improvements. The three categories account for 32.0%, 32.0%, and 36.0% respectively. Architecture improvements carried the largest volume of code, driven by DSIP-105 (sensitive property masking, +1,962 lines).</p><h3>1.3 Modules Most Affected</h3><p>RankModulePRs TouchedLines AddedLines RemovedNet Change1docs8+65–224–1592dolphinscheduler-api5+1,705–144+1,5613dolphinscheduler-ui3+120–31+894.github2+63–0+635dolphinscheduler-common2+278–10+2686dolphinscheduler-task-plugin2+408–4+4047dolphinscheduler-dao2+29–1+288dolphinscheduler-master2+393–1+3929deploy1+100–0+10010dolphinscheduler-alert1+46–28+1811misc9+304–49+255</p><p><strong>Module Commentary</strong>: Changes spanned 11 modules this month. <strong>docs (8 PRs)</strong> and <strong>dolphinscheduler-api (5 PRs)</strong> were the modules receiving the most community attention. Although <strong>dolphinscheduler-master</strong> saw only 2 PRs, they focused on core stability fixes such as HA failover recovery and preservation of forced-success state. The <strong>DSIP-105 sensitive property masking</strong> feature spanned three modules (API / TaskPlugin / UI) and represented the largest change by code volume this month.</p><h3>2. Core Contributors and Featured Contributions</h3><blockquote><em>Composite score formula (for reference only): </em><em>8 × Features + 10 × Performance + 9 × Bug Fixes + 6 × Architecture Improvements + Lines Added / 300 + Lines Removed / 800</em></blockquote><h3>2.1 Contributor Ranking</h3><p>RankContributorPrimary AreaPRs+Lines-LinesComposite Score1.luxiaolongFeatures3+2,029–16428.972.huangrunxingBug Fixes3+88–2626.333.Satyam PandeyFeatures3+47–722.174.Wenjun RuanArchitecture Improvements3+87–4121.345.xiangzihaoArchitecture Improvements3+21–22618.356.Molin WangBug Fixes1+295–09.987.michaellx1057Bug Fixes1+142–19.478.yaodongenBug Fixes1+98–19.339.陈家名Bug Fixes1+93–49.3210.yongfuFeatures1+355–129.211.Sepuri Sai KrishnaBug Fixes1+29–19.112.suycFeatures1+122–48.4113.Goutam AdwantFeatures1+100–08.3314.mengzhe ganArchitecture Improvements1+4–46.0215.zgj-ssslabArchitecture Improvements1+1–16.0</p><h3>2.2 Featured Contributions</h3><h4>Case 1: DSIP-105 Sensitive Property Masking (PR #18585)</h4><ul><li>• <strong>Contributor</strong>: luxiaolong</li><li>• <strong>Scale</strong>: +1,962 / -159 lines, spanning dolphinscheduler-api, dolphinscheduler-task-plugin, and dolphinscheduler-ui</li><li>• <strong>What Changed</strong>: Introduced the Property.sensitive marker and applied masking to properties flagged as sensitive at both the API layer and the UI layer</li><li>• <strong>Community Value</strong>: The only DSIP-level feature this month, it unifies the masking mechanism for sensitive properties across the API, TaskPlugin, and UI layers, helping improve the security and compliance posture of the scheduling system</li></ul><h4>Case 2: Preserving Forced-Success State When Recovering Failed Workflows (PR #18608)</h4><ul><li>• <strong>Contributor</strong>: Molin Wang</li><li>• <strong>Scale</strong>: +295 / -0 lines, in the dolphinscheduler-master module</li><li>• <strong>What Changed</strong>: Added state-preservation logic in TaskForceSuccessStateAction so that task nodes already marked as forced-success remain successful when a failed workflow is recovered</li><li>• <strong>Community Value</strong>: Improves reliability in workflow exception-recovery scenarios and reduces the risk of duplicate execution caused by inconsistent states</li></ul><h4>Case 3: Configurable TCP Keepalive for the HTTP Task (PR #18612)</h4><ul><li>• <strong>Contributor</strong>: yongfu</li><li>• <strong>Scale</strong>: +355 / -12 lines, spanning dolphinscheduler-common, dolphinscheduler-task-plugin, and dolphinscheduler-ui</li><li>• <strong>What Changed</strong>: Added a TCP keepalive configuration option to the HTTP task, allowing users to customize keepalive parameters according to their network environment</li><li>• <strong>Community Value</strong>: Improves the stability of HTTP tasks in complex network environments</li></ul><h4>Case 4: Preserving Previous Values in etcd REMOVE Events (PR #18641)</h4><ul><li>• <strong>Contributor</strong>: michaellx1057</li><li>• <strong>Scale</strong>: +142 / -1 lines, in the registry module</li><li>• <strong>What Changed</strong>: Retained and propagated the previous values of deleted nodes in the etcd REMOVE event callback</li><li>• <strong>Community Value</strong>: Improves the completeness of event information in the registry when nodes go offline unexpectedly</li></ul><h3>3. Key Community Project Progress</h3><h3>3.1 Major Feature: DSIP-105 Sensitive Property Masking</h3><p>The community merged <strong>DSIP-105</strong> (PR #18585) this month — another major improvement proposal following DSIP-18454 (scheduling missed-fire policy). The feature unifies the masking mechanism for sensitive properties across the API, TaskPlugin, and UI layers, and is the largest change by code volume this month (+1,962 lines).</p><h3>3.2 Release Preparation (3.4.3)</h3><p>The community completed release preparation for the <strong>3.4.3 version</strong> this month (PR #18613, #18622). Key progress includes:</p><p>Work ItemStatusNotesVersion bumpDoneVersion identifiers such as pom.xml updated to 3.4.3Upgrade script renameDone3.5.0_schema directory renamed to 3.4.3_schema (MySQL/PostgreSQL)Incompatible changes docDoneChinese and English incompatible.md updated in syncTest adaptationDoneWorkflowInstanceControllerTest updated accordingly</p><p><strong>Note</strong>: Version number and upgrade script changes are release preparation work. For specific functional changes, please refer to the official 3.4.3 release notes.</p><h3>3.3 Stability Fixes</h3><p>The community continued to invest in the stability of the core scheduling engine and storage this month, with 8 bug fixes covering critical paths:</p><p>PRModuleFixRisk Level#18608MasterPreserve forced-success state when recovering failed workflowsHigh#18623MasterWorkflowSerialCoordinator restartable after HA failoverHigh#18641RegistryPreserve previous values in etcd REMOVE eventsMedium#18544DAOReturn only the valid task instance per task codeMedium#18651Storage-ABSRecursive base directory lookup fixMedium#18633Storage-OSSList pagination (not only the first page)Medium#18637UIResource validation directory-name prefix conflict fixLow#18602AlertAlert Script test-send behavior alignmentMedium</p><h3>3.4 Documentation and Usability Improvements</h3><p>Documentation fixes were a consistent focus this month, with 5 documentation-related PRs covering both Chinese and English docs:</p><ul><li>• Completed the datasource documentation sidebar (ClickHouse, DB2, Presto, SQL Server, etc.)</li><li>• Completed the task-type documentation sidebar (Aliyun Serverless Spark, Azure DataFactory, gRPC, etc.)</li><li>• Fixed broken Python SDK documentation links (README + Chinese/English API docs)</li><li>• Removed ambiguous file parameter documentation</li><li>• Fixed duplicated characters in Chinese docs</li></ul><h3>4. Issues Fixed This Month</h3><h3>4.1 Fix Details</h3><p>No.IssueImpact ScopeFix PRRisk LevelP1Master recovery flow did not preserve forced-success stateProduction failure-recovery scenarios#18608HighP2WorkflowSerialCoordinator not restartable after HA failoverHA deployment scenarios#18623HighP3etcd REMOVE events did not preserve previous valuesRegistry failover#18641MediumP4DAO returned multiple invalid task instances per task codeTask query performance#18544MediumP5ABS storage recursive base directory lookup defectObject storage users#18651MediumP6OSS storage list returned only the first pageObject storage users#18633MediumP7Alert Script test-send behavior inconsistent with actual behaviorAlert channel operations#18602MediumP8UI resource validation directory-name prefix conflictFrontend resource management#18637Low</p><h3>Appendix: Full List of Merged PRs This Month</h3><h3>Features (8)</h3><p>PR #TitleContributorMergedModules+Lines-Lines#18621[Doc-18620] Add missing ClickHouse, DB2, Presto, and SQL Server to Chinese docs sidebarSatyam Pandey2026–09–08docs+16–0#18635[Doc-18634][Doc] Add missing Aliyun Serverless Spark, Azure DataFactory, and gRPC to task navigation sidebarSatyam Pandey2026–09–12docs+24–0#18612[Improvement-18611][Task] Support configurable TCP keepalive on the HTTP taskyongfu2026–09–14dolphinscheduler-common|dolphinscheduler-task-plugin|dolphinscheduler-ui+355–12#18639[Improvement-16390][Helm Chart] Allow Hadoop configuration mounts in APIGoutam Adwant2026–09–16deploy+100–0#18649[Improvement-18646][E2E] Wait for datasource create dialog by locatorluxiaolong2026–09–17misc+5–5#18653[Improvement-18652][API] Make login session timeout configurablehuangrunxing2026–09–22docs|dolphinscheduler-api|dolphinscheduler-common|misc+48–5#18657[Improvement-18656][CI] Cache Maven Wrapper to avoid Central HTTP 429luxiaolong2026–09–24.github+62–0#18664[Improvement-18662][API] Aligns insertSchedule with updateSchedule (which already allows offline workflows to save)suyc2026–09–30dolphinscheduler-api+122–4</p><h3>Bug Fixes (8)</h3><p>PR #TitleContributorMergedModules+Lines-Lines#18602[Fix-18601][Alert] Align Alert Script test-send behaviorWenjun Ruan2026–09–02dolphinscheduler-alert|dolphinscheduler-api+70–35#18608[Fix-18604][Master] Preserve forced-success state when recovering failed workflowsMolin Wang2026–09–02dolphinscheduler-master+295–0#18623[Fix-18624][Master] Make WorkflowSerialCoordinator restartable after HA failoveryaodongen2026–09–09dolphinscheduler-master+98–1#18633[Fix-18632][Storage-OSS] Paginate listStorageEntity instead of returning only the first pagehuangrunxing2026–09–11misc+36–20#18544[Fix-18543][DAO] Return only the valid task instance per task codeSepuri Sai Krishna2026–09–15dolphinscheduler-dao+29–1#18651[Fix-18642][Storage-ABS] Fix recursive base directory lookup陈家名2026–09–17misc+93–4#18637[Fix-18636][UI] Fix resource validation rejecting files whose directory name shares a prefix with a siblinghuangrunxing2026–09–18dolphinscheduler-ui+4–1#18641[Fix-18640][Registry] Preserve previous values in etcd REMOVE eventsmichaellx10572026–09–23misc+142–1</p><h3>Architecture Improvements (9)</h3><p>PR #TitleContributorMergedModules+Lines-Lines#18613[Chore] Update next release version to 3.4.3Wenjun Ruan2026–09–04docs|dolphinscheduler-api|dolphinscheduler-dao+3–3#18615[Doc-18617][README] Fix broken Python SDK documentation linkzgj-ssslab2026–09–06misc+1–1#18619[Doc-18618][Doc] Fix broken Python SDK documentation links in README_zh_CN and docsSatyam Pandey2026–09–07docs|misc+7–7#18622[Chore] Add new version 3.4.3Wenjun Ruan2026–09–09.github|docs+14–3#18638[Chore] Fix ci error in FileManageE2ETestxiangzihao2026–09–14misc+2–2#18650[Chore][Doc] Fix duplicated characters in Chinese docsmengzhe gan2026–09–17docs+4–4#18643[Doc-18166] Remove file parameter doc to avoid ambiguityxiangzihao2026–09–17docs+0–211#18585[DSIP-105][API][UI] Add Property.sensitive with API/UI maskingluxiaolong2026–09–21dolphinscheduler-api|dolphinscheduler-task-plugin|dolphinscheduler-ui+1,962–159#18669[Chore] Fix quay.io/minio/minio is no longer public in CIxiangzihao2026–09–30misc+19–13</p><h3>Acknowledgements</h3><p>We thank the <strong>15</strong> contributors who contributed code to the Apache DolphinScheduler community in September 2026: luxiaolong, huangrunxing, Satyam Pandey, Wenjun Ruan, xiangzihao, Molin Wang, michaellx1057, yaodongen, 陈家名, yongfu, Sepuri Sai Krishna, suyc, Goutam Adwant, mengzhe gan, zgj-ssslab</p><p>Every contribution helps the DolphinScheduler community grow in a healthy and sustainable way.</p><p><em>Data Source: Statistics based on merged commit history on the </em><em>origin/dev branch of Apache DolphinScheduler.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a07713d14a12" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Task Failed, but Where Did the Logs Go? Troubleshooting an Apache DolphinScheduler Failed Task]]></title>
            <link>https://medium.com/@ApacheDolphinScheduler/the-task-failed-but-where-did-the-logs-go-troubleshooting-an-apache-dolphinscheduler-failed-task-27d3bf431b08?source=rss-8210139f433b------2</link>
            <guid isPermaLink="false">https://medium.com/p/27d3bf431b08</guid>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[apache-dolphinscheduler]]></category>
            <category><![CDATA[big-data]]></category>
            <dc:creator><![CDATA[Apache DolphinScheduler]]></dc:creator>
            <pubDate>Tue, 22 Sep 2026 17:31:01 GMT</pubDate>
            <atom:updated>2026-09-22T17:31:01.827Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><em>A failure with no logs: tracing a task execution issue from metadata to the Master node</em></blockquote><p>One of the most confusing scenarios in production scheduling systems is when a task is clearly marked as “failed” in the UI and an alert has already been generated, but critical execution information such as the task start time, execution host, execution directory, and log path are all empty.</p><p>There is no Worker log, no YARN Application ID, and no Spark Driver, Executor, or MapReduce Container logs.</p><p>When facing this situation, engineers often start troubleshooting from the Worker node, script paths, YARN environment, or network connectivity. However, this case revealed a different root cause:</p><p>The task had never reached the Worker node. The failure occurred while the Master was constructing the task execution context. The actual issue was neither the script nor the virtual IP, but an invalid tenant configuration in the workflow.</p><p>Key takeaway:<br>When a task_instance is already in the FAILED state, but host, start_time, log_path, and execute_path are all NULL, the first place to investigate should be the Master-side task submission and dispatch process, rather than searching for task execution logs that were never generated.</p><h3>1. Incident Overview: Failed Task, Failed Alert, and Empty Logs</h3><p>In this case, a batch workflow was scheduled to run every day at 14:15. The scheduling UI showed that the first Shell task failed, and subsequent tasks were not executed.</p><p>Meanwhile, the alert table already contained a “scheduler failed” record. However, the alert delivery logs also showed another issue:</p><pre>no bind plugin instance</pre><p>The latest failed alert can be retrieved from t_ds_alert:</p><pre>SELECT id, title, content, alert_status, warning_type,<br>log, alertgroup_id, create_time,<br>process_instance_id<br>FROM t_ds_alert<br>ORDER BY create_time DESC<br>LIMIT 1;</pre><p>The alert content contains the workflow instance ID, task Code, task name, task type, and failure status, making it a useful entry point for reconstructing the entire troubleshooting chain.</p><p>However, two issues must be distinguished:</p><ul><li>Task execution failure</li><li>Alert delivery failure</li></ul><p>These are independent problems and should not be treated as the same failure.</p><blockquote><em>Troubleshooting principle:<br>Do not treat “alert delivery failure” as the cause of task failure. First determine which stage of the task lifecycle failed, then separately troubleshoot alert routing.</em></blockquote><h3>2. First Evidence: Metadata Shows the Task Never Reached the Worker</h3><p>Using the process_instance_id and taskCodeobtained from the alert, we can query t_ds_task_instance and locate the exact task execution record.</p><p>The result shows that the task instance was created and its state was already 6 (FAILURE). However, except for submit_time, all other runtime-related fields were empty.</p><p>Query the task lifecycle fields:</p><pre>SELECT id AS task_instance_id, name, state, host,<br>submit_time, start_time, end_time,<br>log_path, execute_path, app_link<br>FROM t_ds_task_instance<br>WHERE process_instance_id = &lt;process_instance_id&gt;<br>AND task_code = &lt;task_code&gt;<br>ORDER BY id DESC;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/688/1*UQjBZdyBiftu_JUO9n4QWw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*gw29hKuOhhtj9WEl.jpg" /></figure><p>At this point, we can make the first critical conclusion:</p><p>The task failed before Worker execution began.</p><p>Continuing to SSH into Worker nodes, searching for logs, running yarn logs, or analyzing Spark Executor issues would not provide useful information, because the execution entity itself was never created.</p><h3>3. A Misleading Clue: Why Does the Master Show a Different IP?</h3><p>During troubleshooting, the primary IP address of the Master node was found to be inconsistent with the Master address displayed in the scheduling frontend. After SSH-ing into the address shown in the frontend, both the hostname and shell prompt still displayed the primary IP, which initially raised concerns about incorrect routing or an address registration issue.</p><p>The SSH connection tuple, hostname, and all network interface addresses were then verified:</p><pre>echo &quot;$SSH_CONNECTION&quot;<br>hostname -f<br>ip -br addr</pre><p>The output of ip -br addr showed that the primary IP was bound with a /24 network mask, while another address was bound with /32 on the same eth0 interface.</p><p>The latter resolved to an EMR virtual hostname, indicating that it was not another machine, but an auxiliary or virtual service IP on the same node.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NIPbWuqN7OnmVM8P.jpg" /></figure><p>Testing SSH connectivity to a virtual IP on the Master node only proves that the address is reachable locally.</p><p>To verify whether scheduling communication was actually working, the service port needed to be tested from a real Worker node.</p><p>Run the following commands from an actual Worker node:</p><pre>nc -vz -w 3 &lt;master-primary-ip&gt; 5678<br>nc -vz -w 3 &lt;master-virtual-ip&gt; 5678</pre><p>Both Master addresses successfully accepted connections on port 5678.</p><p>Meanwhile, Master heartbeat logs continued to update successfully under:</p><pre>/nodes/master/:5678</pre><p>At this point, the possibility of an unreachable Master registration address could be ruled out.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-jNl_l4Mo2D3BzUG.jpg" /></figure><blockquote><em>Lesson learned:<br>A mismatch between the IP displayed in the UI and the host’s primary IP does not necessarily indicate a configuration error. First determine whether it is a secondary IP or VIP on the same machine, then verify service connectivity from the actual communication endpoint. Avoid relying only on local self-connectivity tests.</em></blockquote><h3>4. Decisive Evidence: “Tenant does not exists” in Master Logs</h3><p>Since the task never reached the Worker node, the real evidence had to be found in the Master logs.</p><p>By searching the Master logs with multiple stable identifiers, including the workflow instance ID, task instance ID, task Code, and task name, the complete failure chain was reconstructed.</p><p>Use multiple identifiers to locate the same scheduling event:</p><pre>grep -R -nE &#39;WorkflowInstance-&lt;id&gt;|TaskInstance-&lt;id&gt;|&lt;task_code&gt;|&lt;task_name&gt;&#39; /var/log/.../master-server/</pre><p>The failure occurred within milliseconds, before the task was actually dispatched to a Worker:</p><pre>14:15:00.650 Task is ready to dispatch to worker<br>14:15:00.651 Tenant does not exists<br>14:15:00.651 Task state changes to FAILURE<br>14:15:00.652 Get taskExecutionContext fail<br>14:15:00.653 Dispatch standby task failed<br>14:15:00.690 Workflow state changes to FAILURE</pre><p>The log output provided the decisive evidence:</p><pre>processDefinition.tenantId=-1<br>processDefinition.tenantCode=null</pre><pre>processInstance.tenantId=-1<br>processInstance.tenantCode=null<br>processInstance.queue=null</pre><p>When constructing the TaskExecutionContext, the Master node must determine the execution tenant information. However, the current workflow did not have a valid tenant configuration.</p><p>As a result, DolphinScheduler could not generate the task execution context, and the task was marked as FAILURE before Worker allocation.</p><p>Root cause:</p><p>The workflow definition and workflow instance both had tenantId=-1, with an empty tenantCode.</p><p>The Master failed to construct the TaskExecutionContext, causing the task to fail before it was dispatched to a Worker node.</p><h3>5. Why Are There No Logs? Understanding the DolphinScheduler Task Lifecycle</h3><p>In DolphinScheduler, task logs are not generated when a TaskInstance record is created in the database.</p><p>Instead, logs become available only after the following steps are completed:</p><ol><li>The Master successfully constructs the task execution context.</li><li>The task is assigned to an available Worker.</li><li>The Worker creates the execution directory and starts running the task.</li></ol><p>Understanding this sequence is essential when troubleshooting the situation where a task fails but no logs exist.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/695/1*S2kt_1lPfAj8zll5TIGyug.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*u6hmQUJUBhGkd1NR.jpg" /></figure><p>These lifecycle fields also provide a practical troubleshooting strategy:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/699/1*g9baG11NDh2ajAQuzE7m2Q.png" /></figure><p>In other words, the absence of logs is itself a valuable signal.</p><h3>6. What Role Does Tenant Play in DolphinScheduler?</h3><p>In DolphinScheduler, a Tenant is not merely a classification field displayed in the UI.</p><p>It is closely related to task execution identity and resource allocation.</p><p>When the Master constructs a task execution context, it needs to resolve information such as:</p><ul><li>tenantCode</li><li>execution user</li><li>resource queue</li></ul><p>This information tells the Worker:</p><ul><li>Which user identity should execute the task?</li><li>Which resource queue should be used?</li><li>Which permissions should be applied?</li></ul><p>Without valid tenant information, the Master cannot safely create an execution environment for the task.</p><p>In environments using:</p><ul><li>Linux user switching</li><li>HDFS permission control</li><li>Kerberos authentication</li><li>YARN queue isolation</li></ul><p>tenant configuration can further affect:</p><ul><li>Operating system user identity</li><li>HDFS directory permissions</li><li>Authentication tickets</li><li>Resource queue assignment</li></ul><p>Therefore, even after repairing the tenant configuration, engineers should still verify the corresponding OS user permissions and big data platform access control.</p><h3>7. Confirm Tenant Relationships Through Metadata</h3><p>To verify the relationship between workflows, users, and tenants, query the following metadata:</p><pre>SELECT pd.id, pd.code, pd.name, pd.version,<br>pd.user_id, u.user_name,<br>pd.tenant_id AS workflow_tenant_id,<br>u.tenant_id AS user_tenant_id,<br>t.id AS matched_tenant_id,<br>t.tenant_code, t.queue_id<br>FROM t_ds_process_definition pd<br>LEFT JOIN t_ds_user u ON u.id = pd.user_id<br>LEFT JOIN t_ds_tenant t ON t.id = pd.tenant_id<br>WHERE pd.code = &lt;process_definition_code&gt;;</pre><p>Confirm that the tenant exists and check historical workflow versions:</p><pre>SELECT * FROM t_ds_tenant ORDER BY id;</pre><pre>SELECT * FROM t_ds_user<br>WHERE id = &lt;user_id&gt;<br>OR user_name = &#39;&lt;user_name&gt;&#39;;</pre><pre>SELECT code, name, version, tenant_id, release_state<br>FROM t_ds_process_definition_log<br>WHERE code = &lt;process_definition_code&gt;<br>ORDER BY version DESC;</pre><p>The expected abnormal result in this case was:</p><pre>workflow_tenant_id = -1</pre><p>and no corresponding record could be found in t_ds_tenant.</p><p>If a user already has a tenant but the workflow still shows tenant_id=-1, it indicates that the workflow did not correctly inherit tenant information during creation, import, or version migration.</p><p>Simply modifying the user configuration does not necessarily update existing workflows automatically.</p><h3>8. Fix Procedure: Avoid Direct Updates to Metadata Tables</h3><p>The recommended approach is to repair the configuration through the DolphinScheduler UI instead of directly modifying metadata tables.</p><p>Direct database updates may bypass:</p><ul><li>workflow version management</li><li>cache synchronization</li><li>permission relationships</li><li>audit information</li></ul><p>The standard repair process is:</p><p>1. Create or select a valid tenant</p><p>In Security Center → Tenant Management, create or select a valid tenant and associate the correct YARN Queue.</p><p>2. Bind the tenant to the workflow owner</p><p>In User Management, assign the tenant to the workflow owner.</p><p>3. Update the workflow configuration</p><p>Edit the failed workflow, select a valid tenant, save the workflow, and generate a new workflow version.</p><p>4. Publish the updated workflow</p><p>Release the new workflow version and verify that:</p><pre>t_ds_process_definition.tenant_id &gt; 0</pre><p>5. Start a new execution</p><p>Trigger a completely new manual run instead of recovering the old failed instance.</p><p>6. Verify runtime permissions</p><p>After the task reaches the Worker node, verify:</p><ul><li>Linux user permissions</li><li>script execution permissions</li><li>HDFS access</li><li>Kerberos authentication</li><li>YARN queue permissions</li></ul><blockquote><em>Why not rerun the old instance?<br>A failed instance stores a snapshot of the previous workflow version, where </em><em>tenantIdis still </em><em>-1. Recovering the old instance may continue using the invalid configuration. After publishing a new workflow version, create a new instance for validation.</em></blockquote><h3>9. How to Validate After Fixing the Issue</h3><p>After the repair is completed, validation should not stop at confirming that the workflow status turns green.</p><p>A complete verification process should confirm that the task has successfully passed the original failure point.</p><p>It is recommended to verify the workflow from three layers:</p><h4>Definition layer</h4><ul><li>The latest workflow version has a valid tenant_id greater than 0.</li><li>The tenant can be correctly mapped to a record in t_ds_tenant.</li></ul><h4>Instance layer</h4><ul><li>The new workflow instance contains valid tenantCode.</li><li>The resource queue information is no longer empty.</li></ul><h4>Dispatch layer</h4><ul><li>TaskInstance.host is populated.</li><li>Worker nodes receive the task successfully.</li></ul><h4>Runtime layer</h4><ul><li>start_time, execute_path, and log_pathare generated correctly.</li></ul><h4>Big data execution layer</h4><p>For tasks submitting Spark or MapReduce jobs:</p><ul><li>The Application ID can be retrieved.</li><li>YARN logs can be queried successfully.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/701/1*8RAyoTxkk2gUW62Nh_sv9A.png" /></figure><h3>Conclusion: No Logs Are Logs</h3><p>In scheduling systems, “no logs” does not mean there is no evidence.</p><p>On the contrary, when host, start_time, execute_path, log_path, and app_link are all empty, these fields already provide a strong indication:</p><p>The task never entered the execution layer.</p><p>Following this clue back to the Master node, the millisecond-level failure timeline eventually pointed to:</p><pre>Tenant does not exists</pre><p>A high-quality troubleshooting process is not about checking every component blindly.</p><p>Instead, it requires:</p><ul><li>Using metadata to define the investigation boundary.</li><li>Using logs to reconstruct the execution timeline.</li><li>Using network tests to eliminate unrelated possibilities.</li><li>Separately closing the loop on task failures and alert delivery failures.</li></ul><p>This approach transforms troubleshooting from experience-based debugging into a systematic, explainable, and reusable diagnostic methodology.</p><p>One-line summary:</p><p>When a TaskInstance enters the FAILED state, but all runtime fields are NULL, check the Master first. In this case, the direct cause was tenantId=-1, which prevented the Master from constructing the TaskExecutionContext.</p><p><strong>Join the Community</strong></p><p>This open-source project is actively operated and maintained with deep involvement from WhaleOps.</p><p>Learn more about WhaleOps: <a href="https://www.whaleops.io/">https://www.whaleops.io/</a></p><p>There are many ways to participate and contribute to the DolphinScheduler community, including:</p><p><strong>Documents</strong>,<strong> translation</strong>,<strong> Q&amp;A</strong>,<strong> tests</strong>,<strong> codes</strong>,<strong> articles</strong>,<strong> keynote speeches</strong>,<strong> etc.</strong></p><p>We assume the first PR (document, code) to contribute to be simple and should be used to familiarize yourself with the submission process and community collaboration style.</p><p>So the community has compiled the following <strong>list of issues suitable for novices:</strong> <a href="https://github.com/apache/dolphinscheduler/contribute">https://github.com/apache/dolphinscheduler/contribute</a></p><ul><li><strong>List of non-newbie issues:</strong></li></ul><p><a href="https://github.com/apache/dolphinscheduler/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+">https://github.com/apache/dolphinscheduler/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+</a></p><ul><li><strong>How to contribute:</strong></li></ul><p><a href="http://https//github.com/apache/dolphinscheduler/blob/8944fdc62295883b0fa46b137ba8aee4fde9711a/docs/docs/en/contribute/join/contribute.md">Https://github.com/apache/dolphinscheduler/blob/8944fdc62295883b0fa46b137ba8aee4fde9711a/docs/docs/en/contribute/join/contribute.md</a></p><ul><li><strong>GitHub Code Repository:</strong> <a href="https://github.com/apache/dolphinscheduler">https://github.com/apache/dolphinscheduler</a></li><li><strong>Official Website:</strong>https://dolphinscheduler.apache.org/en-us</li><li><strong>Mail List:</strong>dev@dolphinscheduler@apache.org</li><li><strong>X.com:</strong>@DolphinSchedule</li><li><strong>YouTube:</strong>https://www.youtube.com/@apachedolphinscheduler</li><li><strong>Slack:</strong>https://join.slack.com/t/asf-dolphinscheduler/shared_invite/zt-1cmrxsio1-nJHxRJa44jfkrNL_Nsy9Qg</li><li><strong>Contributor Guide:</strong><a href="https://dolphinscheduler.apache.org/en-us/community/index.html">https://dolphinscheduler.apache.org/en-us/community</a></li></ul><p>Your Star for the project is essential; don’t hesitate to light a Star for <a href="https://github.com/apache/dolphinscheduler">Apache DolphinScheduler</a> ❤️</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=27d3bf431b08" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Data Pipelines to Intelligent Applications: Building Enterprise Data Warehouses with Apache…]]></title>
            <link>https://blog.devgenius.io/from-data-pipelines-to-intelligent-applications-building-enterprise-data-warehouses-with-apache-07a86f899fac?source=rss-8210139f433b------2</link>
            <guid isPermaLink="false">https://medium.com/p/07a86f899fac</guid>
            <category><![CDATA[apache-dolphinscheduler]]></category>
            <category><![CDATA[data-warehouse]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[open-source]]></category>
            <dc:creator><![CDATA[Apache DolphinScheduler]]></dc:creator>
            <pubDate>Tue, 22 Sep 2026 08:26:46 GMT</pubDate>
            <atom:updated>2026-09-24T13:22:06.059Z</atom:updated>
            <content:encoded><![CDATA[<h3>From Data Pipelines to Intelligent Applications: Building Enterprise Data Warehouses with Apache DolphinScheduler</h3><p>As enterprises accelerate their digital transformation, data platforms are evolving from traditional storage and analytics systems into foundational infrastructures that support business decision-making, intelligent applications, and data asset management.</p><p>Building a stable, efficient, and scalable data production system has become a key challenge in modern enterprise data warehouse (DW) initiatives.</p><p>At the Apache DolphinScheduler September Meetup, community practitioner Zan Liu shared practical experiences in building enterprise-grade data warehouses. The session explored how Apache DolphinScheduler can be used as the orchestration core, working together with data integration, data processing, data applications, and operational management capabilities to build a complete data engineering ecosystem.</p><p>Based on the Meetup session, this article provides an in-depth look at how Apache DolphinScheduler supports enterprise data warehouse practices across four key stages: environment setup, data processing, data applications, and operational upgrades.</p><p>👉🏻 Replay the Meetup session <a href="https://youtu.be/UT3_xV4Awhs?si=I4TI9uxQKt6wbF_l">here</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FUT3_xV4Awhs%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DUT3_xV4Awhs&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FUT3_xV4Awhs%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/66fe6950ba3a210e0f8669b12c210e26/href">https://medium.com/media/66fe6950ba3a210e0f8669b12c210e26/href</a></iframe><h3>About the Speaker</h3><p>Liu Zan: Data Analytics Engineer &amp; Senior Big Data Architect</p><p>With extensive experience in data warehousing and big data technologies, Liu Zan specializes in BI development and Dify-based low-code Agent development. He has deep expertise in building enterprise data platforms and implementing data-driven applications.</p><h3>Environment Setup: Building a Data Foundation for Enterprise Data Warehouses</h3><p>The first step in building an enterprise data warehouse is selecting a technology architecture that can support long-term business growth and establishing a stable, reliable data infrastructure.</p><p>During the early stages of big data development, the Hadoop ecosystem became the foundation for many enterprise data platforms due to its distributed storage and computing capabilities. However, as real-time data requirements continue to increase, traditional architectures have gradually revealed limitations in certain scenarios.</p><p>On one hand, traditional Hadoop-based architectures are primarily designed for batch processing workloads. Data jobs often experience minute-level latency, making them less suitable for real-time analytics and fast decision-making scenarios.</p><p>On the other hand, traditional architectures tightly couple computing and storage resources. When enterprises need to scale a specific type of resource, such as computing capacity or storage capacity, the other resource is often affected as well, resulting in lower resource utilization.</p><p>In addition, the complexity of the big data ecosystem introduces higher costs in terms of component management, version compatibility, system maintenance, and technical learning.</p><p>Therefore, modern enterprise data warehouse practices are increasingly adopting lightweight and high-performance OLAP architectures.</p><h4>1. Technology Selection: Using OLAP Databases to Support High-Performance Analytics</h4><p>During the early phase of data warehouse development, the team adopted a traditional big data warehouse architecture. However, as data volume increased and business analytics requirements became more complex, several limitations gradually emerged in real-world usage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1mRs4ulfMCxrrZdX.jpg" /></figure><p>First, traditional data warehouse architectures are mainly designed for offline batch processing scenarios. Job execution usually involves relatively high latency, with many tasks taking several minutes to complete, making it difficult to meet the low-latency requirements of certain business analytics scenarios.</p><p>Second, traditional architectures suffer from tightly coupled storage and compute resources. Since computing nodes are responsible for both data storage and processing, scaling either compute or storage independently becomes difficult. This can lead to inefficient resource utilization and increase the complexity of platform expansion.</p><p>Furthermore, traditional big data ecosystems usually rely on multiple components working together. The large number of components, combined with version compatibility requirements, increases the complexity of platform deployment, learning, and long-term operations.</p><p>To address these challenges in performance, scalability, and operations, the team adopted a distributed OLAP database architecture in its next-generation data warehouse implementation, improving analytics capabilities and overall platform efficiency.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ObCkr206s-VPKg4s.jpg" /></figure><p>In the new architecture, the orchestration layer adopts the open-source project Apache DolphinScheduler for workflow orchestration, task scheduling, dependency management, retry and alerting, resource management, and visual operations.</p><p>The data integration layer adopts another open-source project, Apache SeaTunnel, which provides data source connectivity, batch and streaming data synchronization, data transformation, and cleansing capabilities.</p><p>The new architecture delivers several improvements.</p><p>First, it provides significantly improved query performance. Based on a distributed OLAP architecture, it enables sub-second responses for large-scale data queries. In wide-table aggregation scenarios, performance can improve by 5 to 10 times compared with traditional solutions, better supporting fast business analytics.</p><p>Second, the new architecture provides stronger scalability. Compared with traditional Hadoop ecosystems that rely on multiple components such as HBase and Spark, the new solution reduces dependencies on numerous third-party components, resulting in a simpler architecture and lower maintenance complexity.</p><p>Meanwhile, based on distributed cluster technology, the architecture provides stronger concurrent processing capabilities, reduces single-node I/O pressure, and improves overall platform stability.</p><p>Through this technology selection, the team successfully upgraded from a traditional data warehouse architecture to a modern OLAP-based architecture, establishing a more reliable data foundation for subsequent data synchronization, processing, and business applications.</p><h4>2. Environment Setup: Reducing the Complexity of Big Data Platform Deployment</h4><p>After completing the architecture selection, the next step was to build the infrastructure required for running data processing workflows.</p><p>During the environment setup process, the team used a cluster management tool to deploy the big data environment. The tool provides fast deployment capabilities, compatibility with open-source ecosystems, and simplified operations and maintenance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*924WVb3Urmu1p9Rj.jpg" /></figure><p>Through centralized management, users can quickly initialize large-scale big data clusters while covering multiple areas including data integration, storage, computing engines, task scheduling, and permission management.</p><p>From an operations perspective, the tool enables unified monitoring and management of clusters, nodes, and services, improving daily maintenance efficiency.</p><p>After completing the infrastructure setup, the team further deployed Apache DolphinScheduler to provide unified scheduling capabilities for subsequent data workflows.</p><h4>3. Deployment Process: Setting Up Apache DolphinScheduler</h4><p>Within the overall data warehouse architecture, Apache DolphinScheduler is responsible for data workflow orchestration and scheduling management.</p><p>By deploying DolphinScheduler, the team was able to integrate subsequent data synchronization and data processing tasks into a unified workflow management system, providing visual orchestration and automated execution capabilities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vdiXZsczVcKJbweP.jpg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JGFBV1hX7tCM1pS0.jpg" /></figure><h3>Data Processing: Connecting the Data Production Pipeline with Apache DolphinScheduler</h3><p>After completing the infrastructure setup, data processing becomes the core stage of enterprise data warehouse development. In this practice, the team focused on data synchronization, data transformation, and task scheduling, using Apache DolphinScheduler to orchestrate and manage data workflows.</p><p>Within the overall data processing pipeline, DolphinScheduler is responsible for workflow management and task scheduling, while Apache SeaTunnel handles data synchronization. Together, the two projects enable an automated process from data ingestion to data processing.</p><p>This practice mainly covers Apache DolphinScheduler deployment, SeaTunnel integration, mirror table synchronization, model-layer processing, exchange table applications, and exploration of real-time data synchronization solutions.</p><h4>1. Apache DolphinScheduler Application: Enabling Unified Data Task Scheduling</h4><p>During the data processing phase, the team adopted Apache DolphinScheduler to centrally manage data workflows.</p><p>Compared with traditional approaches that rely on manually maintained scripts to manage task execution dependencies, DolphinScheduler provides visual workflow orchestration capabilities.</p><p>Users can define workflows through a drag-and-drop interface and organize different data processing tasks into DAG workflows based on their dependencies, significantly reducing workflow management complexity.</p><p>At the same time, DolphinScheduler supports multiple task types and provides cross-language extensibility, enabling it to adapt to diverse data processing scenarios. In enterprise data warehouse projects, different types of data tasks can be integrated into a unified scheduling system, simplifying workflow management and maintenance.</p><p>In terms of reliability, DolphinScheduler adopts a decentralized architecture, improving scheduling system stability and ensuring continuous execution of data workflows.</p><p>By introducing DolphinScheduler, the team connected data synchronization and data processing steps into a unified workflow, enabling centralized scheduling throughout the data production pipeline.</p><h4>2. Apache SeaTunnel Integration: Building Data Synchronization Pipelines</h4><p>For data ingestion and synchronization, the team introduced Apache SeaTunnel as the data integration component responsible for transferring data between different data sources.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6Yn1gYvchq5-nMXG.jpg" /></figure><p>Based on its Connector architecture, SeaTunnel supports multiple data synchronization scenarios, including offline synchronization, real-time synchronization, full synchronization, and incremental synchronization, reducing the complexity of managing data integration tasks.</p><p>At the execution engine layer, SeaTunnel uses the Zeta engine by default while also supporting Flink and Spark as Connector execution engines, providing greater flexibility for different business scenarios.</p><p>In addition, SeaTunnel improves data transfer efficiency through parallel reading and writing mechanisms, delivering stable, high-throughput, and low-latency data synchronization capabilities.</p><p>Within the overall data processing architecture, DolphinScheduler and SeaTunnel work together: DolphinScheduler handles workflow orchestration and execution scheduling, while SeaTunnel performs data synchronization operations. Together, they provide the foundation for efficient data movement across the data warehouse pipeline.</p><h4>3. Mirror Table Synchronization: Improving Data Synchronization Flexibility</h4><p>During the data synchronization process, the team adopted a mirror table synchronization approach to complete data migration.</p><p>Schema synchronization, flexible configuration, and simple operations</p><p>This solution provides a configuration experience similar to DataX while offering more comprehensive data synchronization capabilities.</p><p>In practical applications, the team used the tool to synchronize table schemas and then leveraged DolphinScheduler to centrally schedule synchronization tasks, enabling automated data migration workflows.</p><p>Data synchronization (DolphinScheduler)</p><p>By integrating synchronization tasks into the scheduling system, data migration workflows can be automatically executed according to predefined processes. Combined with task status management, this approach improves the controllability and reliability of data processing operations.</p><h4>4. Model Layer Processing: Simplifying Data Transformation Workflows</h4><p>After completing data synchronization, the team further processed data at the model layer.</p><p>During the model-layer data cleansing stage, Shell scripts were used for business logic processing. This scripting approach improved development efficiency while reducing future maintenance costs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/610/0*-WeHMXpv_l23gf4V.jpg" /></figure><p>In the actual workflow, model-layer processing tasks were also managed through DolphinScheduler, forming a complete data processing pipeline together with upstream and downstream synchronization tasks.</p><h4>5. Exchange Table Application: Enabling Seamless Data Switching</h4><p>To improve data reliability and stability during updates, the team adopted an exchange table mechanism for data switching.</p><p>Through this approach, table data can be switched seamlessly without affecting business users, minimizing the impact of data update operations.</p><p>Combined with DolphinScheduler’s workflow orchestration capabilities, data processing and table switching operations can be executed automatically according to predefined sequences, further improving the stability of the data production pipeline.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/789/0*1T-3nppd3NEMJXMD.jpg" /></figure><h4>6. Real-Time Solution Exploration: Investigating CDC-Based Real-Time Synchronization</h4><p>Beyond offline data processing workflows, the team also explored solutions for real-time data synchronization scenarios.</p><p>This practice investigated a CDC-based real-time synchronization architecture without relying on Flink. The solution features a simpler architecture, strong performance, and easier operations and maintenance.</p><p>Through exploring real-time synchronization solutions, the team further enhanced its data processing capabilities and prepared the platform to support a wider range of future data application scenarios.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/649/0*IKfCUHe0mo7o4qxP.jpg" /></figure><h3>Data Applications: From Data Analytics to Intelligent Data Services</h3><p>After data ingestion, synchronization, and transformation are completed, data needs to be further leveraged to support business analytics and application scenarios.</p><p>In this data warehouse implementation, the team focused on three key areas: BI applications, AI agent applications, and data governance, expanding the platform’s data service capabilities.</p><h4>1. BI Applications: Supporting Data Analytics and Business Visualization</h4><p>At the data application layer, the team connected databases with BI tools through database interfaces to enable analytics and visualization.</p><p>Based on built-in JDBC drivers, the database can be connected directly to BI platforms, providing strong concurrency capabilities and fast query response times. Meanwhile, compatibility with the MySQL protocol enables integration with existing data analytics tools.</p><p>Reporting application (FineReport)</p><p>For practical applications, the team used FineReport for reporting scenarios and DataEase for dashboard visualization.</p><p>Dashboard application (DataEase)</p><p>Through the previous data processing workflow, data synchronization and transformation tasks are centrally scheduled by Apache DolphinScheduler, ensuring that data updates are completed according to predefined processes and providing a stable foundation for BI analytics and visualization.</p><h4>2. AI Agent Applications: Exploring Data Querying Scenarios</h4><p>In traditional data analytics scenarios, users typically rely on reports or query tools to access data. To further expand data application methods, the team developed a data query AI agent based on Dify.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1RWEvEq0wfsLrJGz.jpg" /></figure><p>By building a data query AI agent, users can access data through a more convenient interaction method, providing new possibilities for data applications.</p><p>This practice demonstrates that a data platform needs to provide not only reliable data processing capabilities but also strong data support for upper-layer applications. The data consumed by intelligent applications still relies on continuous data generation through underlying data warehouse synchronization and processing workflows.</p><h4>3. Data Governance: Enhancing Metadata Management Capabilities</h4><p>As enterprise data assets continue to grow, data governance has become an essential component of modern data warehouse development.</p><p>In this practice, the team used OpenMetadata to support metadata management for Doris databases.</p><p>Through metadata management, data asset information stored in databases can be centrally managed, providing better support for data usage, maintenance, and future expansion.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6iajYuW-xTH2A2fU.jpg" /></figure><h3>Operations and Maintenance Upgrades: Ensuring Stable Data Warehouse Operations</h3><p>After completing data warehouse construction and application implementation, long-term platform stability still requires a comprehensive operations and maintenance system.</p><p>In this practice, the team enhanced platform operations capabilities in three key areas: log monitoring, upgrade management, and failure alerting.</p><h4>1. Log Monitoring: Improving System Observability</h4><p>During daily operations, the team uses log monitoring to gain real-time visibility into the status of different platform components.</p><p>By monitoring component logs in real time and combining metric collection with customized alert mechanisms, the team can quickly identify and address potential issues.</p><p>In practice, the team uses Apache DolphinScheduler to view task execution logs while integrating Prometheus and Grafana for daily monitoring.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ga6SNm0hErtk0Wc_.jpg" /></figure><p>Among these tools, DolphinScheduler provides visibility into task execution logs, while Prometheus and Grafana monitor platform metrics. Together, they improve overall system observability and operational efficiency.</p><h4>2. Upgrade Management: Simplifying Doris Cluster Operations</h4><p>For database cluster maintenance, the team adopted DorisManager for Doris cluster management.</p><p>Through this all-in-one Doris cluster management tool, cluster upgrades and maintenance operations can be simplified, improving overall platform management efficiency.</p><h4>3. Failure Alerting: Establishing Task Failure Notification Mechanisms</h4><p>To detect data task failures in a timely manner, the team configured alert instances in Apache DolphinScheduler and integrated them with Feishu bots for failure notifications.</p><p>When a task fails during execution, the system can automatically send notifications through the alert mechanism, helping relevant teams quickly identify and resolve issues.</p><h3>Conclusion: Apache DolphinScheduler Enables End-to-End Enterprise Data Warehouse Development</h3><p>At the Apache DolphinScheduler September Meetup, the community shared a practical enterprise data warehouse implementation covering the complete lifecycle from environment setup and data processing to data applications and operational management.</p><p>Within this architecture, Apache DolphinScheduler runs throughout the entire data production workflow, connecting data synchronization, data transformation, and operational management through workflow orchestration and task scheduling capabilities.</p><p>Apache SeaTunnel handles data synchronization, OLAP databases provide analytical capabilities, while BI tools, AI agents, and metadata management systems further extend data application scenarios.</p><p>Through this implementation, the team built a comprehensive data platform covering both data processing and data applications, providing reliable support for stable enterprise data warehouse operations.</p><p><strong>Join the Community</strong></p><p>This open-source project is actively operated and maintained with deep involvement from WhaleOps.</p><p>Learn more about WhaleOps: <a href="https://www.whaleops.io/">https://www.whaleops.io/</a></p><p>There are many ways to participate and contribute to the DolphinScheduler community, including:</p><p><strong>Documents</strong>,<strong> translation</strong>,<strong> Q&amp;A</strong>,<strong> tests</strong>,<strong> codes</strong>,<strong> articles</strong>,<strong> keynote speeches</strong>,<strong> etc.</strong></p><p>We assume the first PR (document, code) to contribute to be simple and should be used to familiarize yourself with the submission process and community collaboration style.</p><p>So the community has compiled the following <strong>list of issues suitable for novices:</strong> <a href="https://github.com/apache/dolphinscheduler/contribute">https://github.com/apache/dolphinscheduler/contribute</a></p><ul><li><strong>List of non-newbie issues:</strong></li></ul><p><a href="https://github.com/apache/dolphinscheduler/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+">https://github.com/apache/dolphinscheduler/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+</a></p><ul><li><strong>How to contribute:</strong></li></ul><p><a href="http://https//github.com/apache/dolphinscheduler/blob/8944fdc62295883b0fa46b137ba8aee4fde9711a/docs/docs/en/contribute/join/contribute.md">Https://github.com/apache/dolphinscheduler/blob/8944fdc62295883b0fa46b137ba8aee4fde9711a/docs/docs/en/contribute/join/contribute.md</a></p><ul><li><strong>GitHub Code Repository:</strong> <a href="https://github.com/apache/dolphinscheduler">https://github.com/apache/dolphinscheduler</a></li><li><strong>Official Website:</strong>https://dolphinscheduler.apache.org/en-us</li><li><strong>Mail List:</strong>dev@dolphinscheduler@apache.org</li><li><strong>X.com:</strong>@DolphinSchedule</li><li><strong>YouTube:</strong>https://www.youtube.com/@apachedolphinscheduler</li><li><strong>Slack:</strong>https://join.slack.com/t/asf-dolphinscheduler/shared_invite/zt-1cmrxsio1-nJHxRJa44jfkrNL_Nsy9Qg</li><li><strong>Contributor Guide:</strong><a href="https://dolphinscheduler.apache.org/en-us/community/index.html">https://dolphinscheduler.apache.org/en-us/community</a></li></ul><p>Your Star for the project is essential; don’t hesitate to light a Star for <a href="https://github.com/apache/dolphinscheduler">Apache DolphinScheduler</a> ❤️</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=07a86f899fac" width="1" height="1" alt=""><hr><p><a href="https://blog.devgenius.io/from-data-pipelines-to-intelligent-applications-building-enterprise-data-warehouses-with-apache-07a86f899fac">From Data Pipelines to Intelligent Applications: Building Enterprise Data Warehouses with Apache…</a> was originally published in <a href="https://blog.devgenius.io/">Dev Genius</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Inside DolphinScheduler’s Master Startup Process: A Source Code Walkthrough]]></title>
            <link>https://medium.com/@ApacheDolphinScheduler/inside-dolphinschedulers-master-startup-process-a-source-code-walkthrough-be42faa09742?source=rss-8210139f433b------2</link>
            <guid isPermaLink="false">https://medium.com/p/be42faa09742</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[apache-dolphinscheduler]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[open-source]]></category>
            <dc:creator><![CDATA[Apache DolphinScheduler]]></dc:creator>
            <pubDate>Fri, 18 Sep 2026 17:01:02 GMT</pubDate>
            <atom:updated>2026-09-18T17:01:02.296Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NwHiQNuPTxH8sWHyPRgPng.jpeg" /></figure><p>Apache DolphinScheduler is a distributed, highly extensible, and visual workflow scheduler designed for creating, scheduling, and monitoring enterprise-scale big data workflows. As a core scheduling component, the Master node receives task commands, schedules DAG workflows, dispatches tasks to Workers, and handles fault tolerance and high availability across the cluster.</p><p>This article walks through the Master startup process in DolphinScheduler 3.2.0 from the source-code level. By tracing the startup sequence and examining the key modules involved, you can quickly build an understanding of how the Master service initializes and how its scheduling engine works.</p><h3>1. How a Manually Triggered Workflow Starts</h3><p>When you click “Run” in the Web UI to manually trigger a workflow, the workflow does not start executing immediately. Instead, DolphinScheduler first writes a Command to the database.</p><p>The entry point is ExecutorController:</p><pre>@PostMapping(value = &quot;start-process-instance&quot;)<br>public Result startProcessInstance(@RequestBody StartProcessInstanceCommand command) {<br>    // Parameter validation and permission checks...<br>    executorService.execProcessInstance(command);<br>    return Result.success();<br>}</pre><p>The subsequent call chain is:</p><pre>ExecutorServiceImpl#execProcessInstance(...)<br>→ createCommand(...)<br>→ CommandServiceImpl#createCommand(Command)<br>→ CommandMapper#insert(Command)</pre><p>At this stage, DolphinScheduler only inserts a record into the t_ds_commandtable. After startup, the Master continuously polls this table and consumes pending commands, after which it actually restores and executes the corresponding workflow instances.</p><h3>2. MasterServer Startup Entry Point and Overall Flow</h3><p>The Master startup entry point is the org.apache.dolphinscheduler.server.master.MasterServer class. Its @PostConstruct-annotated run()method initializes and starts the major components in sequence:</p><pre>@PostConstruct<br>public void run() throws SchedulerException {<br>    // 1. Start the RPC services (Server + Client)<br>    masterRPCServer.start();<br>    masterRpcClient.start();<br>​<br>    // 2. Load Task plugins<br>    taskPluginManager.loadPlugin();<br>​<br>    // 3. Start the registry client (register the Master and monitor cluster changes)<br>    masterRegistryClient.start();<br>    masterRegistryClient.setRegistryStoppable(this);<br>​<br>    // 4. Start the core scheduling engine<br>    masterSchedulerBootstrap.start();<br>​<br>    // 5. Start the asynchronous event processing service<br>    eventExecuteService.start();<br>​<br>    // 6. Start the failover thread<br>    failoverExecuteThread.start();<br>​<br>    // 7. Start the Quartz scheduler<br>    schedulerApi.start();<br>​<br>    // Add a JVM shutdown hook<br>    Runtime.getRuntime().addShutdownHook(new Thread(() -&gt; {<br>        if (!ServerLifeCycleManager.isStopped()) {<br>            close(&quot;MasterServer shutdownHook&quot;);<br>        }<br>    }));<br>}</pre><p>Let’s walk through each step to understand the implementation details and the design behind them.</p><h3>3. Starting the Master RPC Services</h3><p>Inside DolphinScheduler, the Master uses Netty to implement RPC communication. The RPC layer consists of an RPC Server, which receives heartbeats and status updates from Workers, and an RPC Client, which sends task commands to Workers.</p><h4>3.1 Starting the RPC Server</h4><p>The MasterRPCServer.start() method initializes the RPC server as follows:</p><pre>public void start() {<br>    log.info(&quot;Starting Master RPC Server...&quot;);<br>    NettyServerConfig serverConfig = masterConfig.getMasterRpcServerConfig();<br>    serverConfig.setListenPort(masterConfig.getListenPort());<br>    this.nettyRemotingServer = new NettyRemotingServer(serverConfig);<br>    // Register all MasterRpcProcessors to handle incoming messages<br>    for (MasterRpcProcessor processor : masterRpcProcessors) {<br>        this.nettyRemotingServer.registerProcessor(processor);<br>    }<br>    this.nettyRemotingServer.start();<br>    log.info(&quot;Started Master RPC Server...&quot;);<br>}</pre><p>When NettyRemotingServer is constructed, DolphinScheduler selects either Epoll or NIO based on the runtime environment and initializes the bossGroup and workerGroup:</p><pre>public NettyRemotingServer(NettyServerConfig config) {<br>    if (Epoll.isAvailable()) {<br>        bossGroup = new EpollEventLoopGroup(1, bossFactory);<br>        workGroup = new EpollEventLoopGroup(config.getWorkerThread(), workerFactory);<br>    } else {<br>        bossGroup = new NioEventLoopGroup(1, bossFactory);<br>        workGroup = new NioEventLoopGroup(config.getWorkerThread(), workerFactory);<br>    }<br>    // Initialize ServerBootstrap and register handlers<br>}</pre><p>During start(), ServerBootstrap.bind(...) binds the server to the configured port. The default RPC port is 5678:</p><pre>serverBootstrap<br>    .group(bossGroup, workGroup)<br>    .channel(NettyUtils.getServerSocketChannelClass())<br>    .childHandler(new ChannelInitializer&lt;SocketChannel&gt;() {<br>        protected void initChannel(SocketChannel ch) {<br>            initNettyChannel(ch);<br>        }<br>    });<br>ChannelFuture future = serverBootstrap.bind(serverConfig.getListenPort()).sync();</pre><p>Once the server successfully binds to the port, the Master can receive RPC requests from Workers and other components.</p><h4>3.2 Starting the RPC Client</h4><p>MasterRpcClient.start() initializes the NettyRemotingClient, but it does not proactively establish connections to Workers:</p><pre>public void start() {<br>    client = new NettyRemotingClient(masterConfig.getMasterRpcClientConfig());<br>    log.info(&quot;Success initialized MasterRPCClient...&quot;);<br>}</pre><p>The NettyRemotingClient constructor also selects Epoll or NIO depending on the environment. It initializes the workerGroup, callbackExecutor, and responseFutureExecutor, and starts the response-future scanning mechanism:</p><pre>bootstrap<br>    .group(workerGroup)<br>    .channel(NettyUtils.getSocketChannelClass())<br>    .handler(new ChannelInitializer&lt;SocketChannel&gt;() {<br>        public void initChannel(SocketChannel ch) {<br>            ch.pipeline()<br>              .addLast(new IdleStateHandler(...))<br>              .addLast(new NettyDecoder(), clientHandler, encoder);<br>        }<br>    });<br>responseFutureExecutor.scheduleWithFixedDelay(ResponseFuture::scanFutureTable, 0, 1, TimeUnit.SECONDS);</pre><p>In other words, the Master initializes the client-side RPC infrastructure during startup. Actual connections to Workers are established when the Master needs to dispatch tasks.</p><h3>4. Plugin Loading</h3><p>DolphinScheduler uses Java SPI to dynamically load Task plugins, enabling integration with multiple execution engines such as Hive, Spark, and Flink.</p><p>The implementation of TaskPluginManager.loadPlugin() is:</p><pre>public void loadPlugin() {<br>    PrioritySPIFactory&lt;TaskChannelFactory&gt; factory = new PrioritySPIFactory&lt;&gt;(TaskChannelFactory.class);<br>    for (Map.Entry&lt;String, TaskChannelFactory&gt; entry : factory.getSPIMap().entrySet()) {<br>        String name = entry.getKey();<br>        TaskChannelFactory plugin = entry.getValue();<br>        taskChannelFactoryMap.put(name, plugin);<br>        taskChannelMap.put(name, plugin.create());<br>    }<br>}</pre><p>Internally, PrioritySPIFactory uses ServiceLoader.load(spiClass) to scan implementations registered under META-INF/services and handles conflicts between implementations with the same name:</p><pre>for (T impl : ServiceLoader.load(spiClass)) {<br>    String key = impl.getIdentify().getName();<br>    if (map.containsKey(key)) resolveConflict(impl);<br>    else map.put(key, impl);<br>}</pre><p>This SPI-based architecture allows Task-related capabilities to be extended without tightly coupling the core scheduling engine to every specific execution technology.</p><h3>5. Registry Client Initialization and Heartbeat Maintenance</h3><p>The Master communicates with ZooKeeper, or another supported registry, through masterRegistryClient. This component handles several key responsibilities:</p><ol><li>Register the current Master node: Create an ephemeral node under /dolphinscheduler/master and store heartbeat information.</li><li>Maintain heartbeats: Periodically update node information to prevent the cluster from treating the Master as unavailable.</li><li>Monitor cluster changes: Subscribe to /dolphinscheduler/servers so the Master can dynamically detect Master and Worker nodes joining or leaving the cluster.</li></ol><p>The startup logic is:</p><pre>public void start() {<br>    this.masterHeartBeatTask = new MasterHeartBeatTask(masterConfig, registryClient);<br>    registry(); // Register the Master and start the heartbeat<br>    registryClient.addConnectionStateListener(new MasterConnectionStateListener(...));<br>    registryClient.subscribe(RegistryNodeType.ALL_SERVERS.getRegistryPath(), new MasterRegistryDataListener());<br>}</pre><p>The core registration logic is:</p><pre>void registry() {<br>    registryClient.remove(masterPath);<br>    registryClient.persistEphemeral(masterPath, JSONUtils.toJsonString(heartbeat));<br>    while (!registryClient.checkNodeExists(host, MASTER)) {<br>        ThreadUtils.sleep(3000);<br>    }<br>    masterHeartBeatTask.start();<br>}</pre><p>The MasterRegistryDataListenerhandles registry events through handleMasterEvent() and handleWorkerEvent(), triggering failover processing or resource cleanup when cluster membership changes.</p><h3>6. Starting the Core Scheduling Engine</h3><p>The core scheduling engine is started by MasterSchedulerBootstrap, which brings together three major components:</p><ul><li>Command recovery: Queries all pending Commands, creates the corresponding WorkflowExecuteRunnableinstances, and adds them to the execution cache and event queue.</li><li>Event loop: WorkflowEventLoopercontinuously consumes events from workflowEventQueue and invokes the appropriate handler based on the event type.</li><li>Task executor:MasterTaskExecutorBootstrapstarts the thread pools and queues responsible for consuming pending tasks and dispatching them to Workers through RPC.</li></ul><p>The startup sequence is:</p><pre>public synchronized void start() {<br>    super.start();              // part1: recover and submit Commands<br>    workflowEventLooper.start(); // part2: start the event loop<br>    masterTaskExecutorBootstrap.start(); // part3: dispatch tasks<br>}</pre><h4>6.1 Recovering Commands</h4><p>The recovery process can be illustrated as follows:</p><pre>List&lt;Command&gt; commands = findCommands();<br>commands.parallelStream().forEach(cmd -&gt; {<br>    Optional&lt;WorkflowExecuteRunnable&gt; opt = factory.create(cmd);<br>    if (opt.isPresent()) {<br>        cacheManager.cache(id, runnable);<br>        workflowEventQueue.addEvent(new WorkflowEvent(START_WORKFLOW, id));<br>    }<br>});</pre><p>The Master retrieves pending Commands, creates the corresponding workflow execution objects, caches them, and then pushes START_WORKFLOW events into the workflow event queue.</p><p>This is the key transition from a command stored in the database to an actual workflow execution process.</p><h4>6.2 The Event Loop</h4><p>WorkflowEventLooper implements Runnable:</p><pre>public void run() {<br>    while (RUNNING) {<br>        WorkflowEvent event = queue.poolEvent();<br>        try (MDCAutoClosableContext ctx = setWorkflowIdMDC(...)) {<br>            handlerMap.get(event.getType()).handle(event);<br>        }<br>    }<br>}</pre><p>When a START_WORKFLOW event is received, it is routed to WorkflowStartHandler, which invokes WorkflowExecuteRunnable.call():</p><pre>public WorkflowStartStatus startWorkflow() {<br>    initTaskQueue();     // Initialize the DAG task queue<br>    submitPostNode(null); // Submit the first node<br>    return SUCCESS;<br>}</pre><p>At this point, the workflow execution engine begins processing the DAG and submitting its executable tasks.</p><h4>6.3 Task Dispatch</h4><p>MasterTaskExecutorBootstrap starts three processing loops:</p><pre>globalTaskDispatchLooper.start();<br>masterDelayTaskLooper.start();<br>asyncMasterTaskDelayLooper.start();</pre><p>Among them, globalTaskDispatchLooper retrieves DefaultTaskExecuteRunnable instances from globalTaskDispatchWaitingQueueand invokes taskDispatcher.dispatch():</p><pre>Message msg = taskDispatchRequest.convert2Command();<br>masterRpcClient.sendSyncCommand(host, msg, timeout);</pre><p>The task dispatch request is converted into an RPC message and sent synchronously to the target Worker.</p><p>This is the point where the Master moves from workflow-level orchestration to actual task execution on a Worker node.</p><h3>7. Event Processing Service</h3><p>Event processing is divided into two main categories:</p><ul><li>Workflow events: Events such as task status changes and workflow blocking.</li><li>Stream events: Custom events associated with streaming tasks.</li></ul><p>EventExecuteService.start() starts the corresponding thread pools and continuously consumes events from the stateEvents and taskEvents queues:</p><pre>workflowEventHandler(); // Submit to workflowExecuteThreadPool<br>streamTaskEventHandler(); // Submit to streamTaskExecuteThreadPool</pre><p>By processing events asynchronously through dedicated thread pools, the Master can separate event production from event handling and avoid coupling the execution of different types of events too tightly.</p><h3>8. Failover Processing</h3><p>The failoverExecuteThreadperiodically checks the health of Master and Worker nodes. When a node becomes unavailable, DolphinScheduler handles two types of failover scenarios: Master Failover and Worker Failover.</p><h4>8.1 Master Failover</h4><p>When a Master node goes down, the registry removes its node. Other Master nodes detect the change and trigger failover processing:</p><pre>failoverService.failoverServerWhenDown(serverHost, MASTER);</pre><p>doFailoverMaster then:</p><ul><li>Queries the ProcessInstances that require failover.</li><li>Calls processService.processNeedFailoverProcessInstances(processInstance) for each instance.</li><li>Writes the required execution commands back to t_ds_command.</li></ul><p>This allows another available Master to take over the affected workflow instances and continue the scheduling process.</p><h4>8.2 Worker Failover</h4><p>When a Worker node goes down:</p><pre>failoverService.failoverServerWhenDown(workerHost, WORKER);</pre><p>failoverWorker queries the TaskInstance records for tasks that were running on the failed Worker. For each unfinished task, it:</p><ul><li>Sets state = NEED_FAULT_TOLERANCE.</li><li>Updates the database through taskInstanceDao.upsert.</li><li>Submits a TaskStateEvent to workflowExecuteThreadPool, allowing the task to be dispatched again to another available Worker.</li></ul><p>Through this mechanism, task execution can recover from Worker failures without requiring the workflow itself to be restarted from scratch.</p><h3>9. Starting the Quartz Scheduler</h3><p>In addition to manually triggered workflows, the Master uses Quartz to support scheduled execution.</p><p>SchedulerApi injects an org.quartz.Scheduler instance:</p><pre>@Override<br>public void start() throws SchedulerException {<br>    scheduler.start();<br>}</pre><p>The Quartz Scheduler is used to trigger scheduled jobs periodically, including tasks such as workflow dependency handling and scheduled workflow execution.</p><p>This complements the command-driven execution path used for manually triggered workflows.</p><h3>10. Summary and Key Takeaways</h3><p>This article has walked through the complete startup and execution flow of the Master node in DolphinScheduler 3.2.0, from manually writing a Command to the database, to MasterServerinitialization, RPC service setup, plugin loading, registry integration, core scheduling engine startup, event processing, failover handling, and Quartz-based scheduled execution.</p><p>At the architectural level, the Master demonstrates a modular and decoupled design:</p><ul><li>Network communication: RPC communication is implemented with Netty.</li><li>Plugin extensibility: Java SPI is used to dynamically load TaskChannel implementations.</li><li>High availability: Registry-based heartbeats and the Failover service provide fault-tolerance capabilities.</li><li>Scheduling engine: Parallel processing and an event-driven architecture work together to drive workflow execution.</li><li>Scheduled execution: Quartz provides additional scheduling capabilities for time-based tasks.</li></ul><p>At the source-code level, the core logic is built around database operations, queues, event processing, and RPC messaging. Developers can continue tracing the call chain to explore the implementation details that are not covered here, and combine the source code with the DolphinScheduler community documentation for a deeper understanding of how the Master works.</p><p>Once you follow the startup path from MasterServer.run() through command recovery, event handling, task dispatch, and failover, the Master is no longer a black box: it becomes a clearly connected execution pipeline that turns workflow commands into reliable task execution across the cluster.</p><p><strong>Join the Community</strong></p><p>This open-source project is actively operated and maintained with deep involvement from WhaleOps.</p><p>Learn more about WhaleOps: <a href="https://www.whaleops.io/">https://www.whaleops.io/</a></p><p>There are many ways to participate and contribute to the DolphinScheduler community, including:</p><p><strong>Documents</strong>,<strong> translation</strong>,<strong> Q&amp;A</strong>,<strong> tests</strong>,<strong> codes</strong>,<strong> articles</strong>,<strong> keynote speeches</strong>,<strong> etc.</strong></p><p>We assume the first PR (document, code) to contribute to be simple and should be used to familiarize yourself with the submission process and community collaboration style.</p><p>So the community has compiled the following <strong>list of issues suitable for novices:</strong> <a href="https://github.com/apache/dolphinscheduler/contribute">https://github.com/apache/dolphinscheduler/contribute</a></p><ul><li><strong>List of non-newbie issues:</strong></li></ul><p><a href="https://github.com/apache/dolphinscheduler/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+">https://github.com/apache/dolphinscheduler/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+</a></p><ul><li><strong>How to contribute:</strong></li></ul><p><a href="http://https//github.com/apache/dolphinscheduler/blob/8944fdc62295883b0fa46b137ba8aee4fde9711a/docs/docs/en/contribute/join/contribute.md">Https://github.com/apache/dolphinscheduler/blob/8944fdc62295883b0fa46b137ba8aee4fde9711a/docs/docs/en/contribute/join/contribute.md</a></p><ul><li><strong>GitHub Code Repository:</strong> <a href="https://github.com/apache/dolphinscheduler">https://github.com/apache/dolphinscheduler</a></li><li><strong>Official Website:</strong>https://dolphinscheduler.apache.org/en-us</li><li><strong>Mail List:</strong>dev@dolphinscheduler@apache.org</li><li><strong>X.com:</strong>@DolphinSchedule</li><li><strong>YouTube:</strong>https://www.youtube.com/@apachedolphinscheduler</li><li><strong>Slack:</strong>https://join.slack.com/t/asf-dolphinscheduler/shared_invite/zt-1cmrxsio1-nJHxRJa44jfkrNL_Nsy9Qg</li><li><strong>Contributor Guide:</strong><a href="https://dolphinscheduler.apache.org/en-us/community/index.html">https://dolphinscheduler.apache.org/en-us/community</a></li></ul><p>Your Star for the project is essential; don’t hesitate to light a Star for <a href="https://github.com/apache/dolphinscheduler">Apache DolphinScheduler</a> ❤️</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=be42faa09742" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Apache DolphinScheduler 3.4.3 Released: Stronger Security, Stability, and Scheduling Reliability]]></title>
            <link>https://medium.com/@ApacheDolphinScheduler/apache-dolphinscheduler-3-4-3-released-stronger-security-stability-and-scheduling-reliability-ebcc3e826d85?source=rss-8210139f433b------2</link>
            <guid isPermaLink="false">https://medium.com/p/ebcc3e826d85</guid>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[apache-dolphinscheduler]]></category>
            <dc:creator><![CDATA[Apache DolphinScheduler]]></dc:creator>
            <pubDate>Fri, 18 Sep 2026 07:45:31 GMT</pubDate>
            <atom:updated>2026-09-18T07:45:31.575Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*14-Bm2fqrrwUPGGLxWbuOw.png" /></figure><p>Apache DolphinScheduler 3.4.3 has officially been released. This release delivers continued improvements across scheduling, permissions, security, performance, and stability, with a focus on real-world production scenarios such as task and workflow instance queries, API access control, sensitive information protection, and task failure recovery. In addition, new missed-scheduling recovery strategies are planned for Apache DolphinScheduler 3.5.0.</p><p>As an open-source data orchestration platform designed for complex data workflow scenarios, Apache DolphinScheduler continues to strengthen its scheduling and orchestration capabilities through community collaboration. Version 3.4.3 further improves reliability in areas such as scheduling recovery, enterprise-grade access control, and large-scale task execution, providing a stronger foundation for stable operation in production environments.</p><p><a href="https://github.com/apache/dolphinscheduler/releases/tag/3.4.3">View the Apache DolphinScheduler 3.4.3 Release</a></p><h3>Stronger Access Control for Improved Platform Security</h3><p>One of the key areas of improvement in 3.4.3 is access control.</p><p>Enterprise data platforms typically involve multiple users, projects, data sources, and workflows. Clear and well-defined permission boundaries are therefore essential to maintaining a secure operating environment.</p><p>Version 3.4.3 further improves access control across multiple APIs, covering scenarios such as user list access, data source authorization lists, cluster queries, workflow modifications, and sub-workflow references. Related permissions have also been further standardized and refined.</p><p>The release also further restricts access to audit logs for non-administrator users, ensuring that users can only access audit information within the scope of their permissions. In addition, task-level data source access now includes corresponding permission checks, providing stronger controls over data access.</p><p>Together, these improvements establish clearer permission boundaries across users, projects, workflows, and data sources, providing more comprehensive security for enterprise environments with multiple users and collaborative workflows.</p><h3>Enhanced Protection for Sensitive Information</h3><p>Beyond access control, Apache DolphinScheduler 3.4.3 also introduces targeted improvements to sensitive information protection.</p><p>The release removes plaintext passwords from Worker logs and prevents raw passwords from being exposed through parameter validation error messages. These changes reduce the risk of sensitive information leakage in both log output and error messages.</p><p>The release also fixes a Sonar Token exposure issue and removes some unused code, further improving the project’s overall security and engineering quality.</p><h3>More Efficient Instance Queries at Scale</h3><p>As the number of workflows and task instances continues to grow, querying task and workflow instances has become a frequent operation in production environments.</p><p>To address this scenario, version 3.4.3 introduces several query optimizations. New indexes, including idx_project_submit_time and idx_project_start_time, have been added for task instance and workflow instance queries. The Mapper query logic has also been optimized to exclude unnecessary large text fields from list queries.</p><p>These improvements reduce data retrieval during queries and help lower database load, improving query efficiency and the overall user experience in environments with large numbers of task instances.</p><h3>Improved Task Failure Recovery and Retry Handling</h3><p>The ability to recover from task failures directly affects the continuity of data processing. Version 3.4.3 includes multiple fixes covering task failures, retries, and workflow recovery.</p><p>The release adds application termination handling during task failover, preventing related applications from continuing to run after a task failure. It also adjusts retry time calculation so that the next execution is scheduled based on endTime + retryInterval.</p><p>For scenarios where failed tasks are recreated, 3.4.3 fixes an issue where runtime states were not properly reset. During workflow recovery, the release also ensures that forced-success states are correctly preserved.</p><p>In addition, this version fixes issues where Worker Group parameters were not applied as specified when rerunning workflows, as well as abnormal TaskGroup slot handling when tasks were paused or terminated. These fixes further strengthen task recovery in exceptional execution scenarios.</p><h3>More Robust Workflow Dependencies and Execution Logic</h3><p>At the workflow execution layer, version 3.4.3 includes multiple fixes related to DAGs and dependent tasks.</p><p>The release fixes an issue where DAG.addEdge could accept an edge that creates a cycle in path-convergence scenarios, further strengthening DAG validation and ensuring workflow correctness.</p><p>For dependent tasks, 3.4.3 fixes an issue with parsing ALL-type dependencies. It also resolves a problem where a task instance could fail while the workflow instance remained in a running state when using the Continue strategy, enabling workflow status to more accurately reflect actual execution states under complex dependency conditions.</p><p>In addition, the release addresses issues related to SQL task data source field persistence, DataX tasks reading Job Definitions from associated resource files, and S3 resource lists containing more than 1,000 records.</p><h3>Continued Improvements to Kubernetes, Alerts, and Other Capabilities</h3><p>For cloud-native deployments, version 3.4.3 fixes an issue in the Helm Chart that could result in duplicate app.kubernetes.io/name labels in ConfigMaps and updates the MySQL Helm Chart version.</p><p>Alerting capabilities have also been improved. These changes include removing redundant plugin definition table checks during AlertServer startup and adjusting the behavior of Alert Script test notifications. The release also fixes an issue that could cause Kubernetes Alert HTTP tests to fail.</p><p>In addition, the release removes some deprecated APIs and unused code, while further improving documentation related to parameter precedence, upgrades, data sources, and configuration. These changes contribute to better maintainability and a smoother user experience.</p><h3>Missed-Scheduling Recovery Strategies Planned for 3.5.0</h3><p>Beyond the improvements included in this release, the community continues to advance Apache DolphinScheduler’s scheduling capabilities.</p><p>The missed-scheduling recovery strategy proposed in DSIP-107 has completed the relevant implementation and has been merged into the development branch. It is planned for inclusion in version 3.5.0.</p><p>The feature supports three strategies for handling missed schedules:</p><ul><li>SKIP_MISSED</li><li>FIRE_ONCE_NOW</li><li>FIRE_ALL_MISSED</li></ul><p>These strategies provide different ways to handle schedules that were missed, giving users greater control over how scheduled workflows should be recovered after interruptions or other exceptional circumstances.</p><h3>Continuously Strengthening Enterprise-Grade Data Orchestration</h3><p>From missed-scheduling recovery and access control to query performance and task failure recovery, Apache DolphinScheduler 3.4.3 focuses closely on the challenges encountered in real-world production environments.</p><p>Rather than simply adding new features, this release continues to improve the core qualities required for long-running data workflows, including scheduling reliability, security, query performance, and task stability. The upcoming missed-scheduling recovery strategies will further strengthen scheduling behavior in exceptional scenarios. More granular access controls establish stronger security boundaries for multi-user enterprise environments, while improvements to task recovery, dependency handling, and query performance further enhance platform reliability in complex production environments.</p><p>For the complete list of updates, see the <a href="https://github.com/apache/dolphinscheduler/releases/tag/3.4.3">Release Notes</a>.</p><h3>Thanks to Our Contributors</h3><p>The Apache DolphinScheduler 3.4.3 release would not have been possible without the continued participation and contributions of the community. We would like to thank the following 20 contributors for contributing code, submitting issues, participating in testing and reviews, and helping move the community forward:</p><p>det101, wcmolin, liang-wenjie, njnu-seafish, qiuyanjun888, destinyoooo, HomminLee, ruanwenjun, kittimzhe, SbloodyS, eye-gu, vlaborie, nkuprins, nanxiuzi, SEPURI-SAI-KRISHNA, hiSandog, hellodml, zhang-arvin, nikhiln64, yan9651688</p><p>Thank you to every contributor for your time, expertise, and continued support. The ongoing collaboration of the global Apache DolphinScheduler community enables the project to continuously improve its scheduling, orchestration, security, and stability capabilities while serving an ever-growing range of data engineering use cases.</p><p>We invite you to try Apache DolphinScheduler 3.4.3, explore the latest improvements, and join the community to help advance the open-source data orchestration ecosystem.</p><p><strong>Join the Community</strong></p><p>This open-source project is actively operated and maintained with deep involvement from WhaleOps.</p><p>Learn more about WhaleOps: <a href="https://www.whaleops.io/">https://www.whaleops.io/</a></p><p>There are many ways to participate and contribute to the DolphinScheduler community, including:</p><p><strong>Documents</strong>,<strong> translation</strong>,<strong> Q&amp;A</strong>,<strong> tests</strong>,<strong> codes</strong>,<strong> articles</strong>,<strong> keynote speeches</strong>,<strong> etc.</strong></p><p>We assume the first PR (document, code) to contribute to be simple and should be used to familiarize yourself with the submission process and community collaboration style.</p><p>So the community has compiled the following <strong>list of issues suitable for novices:</strong> <a href="https://github.com/apache/dolphinscheduler/contribute">https://github.com/apache/dolphinscheduler/contribute</a></p><ul><li><strong>List of non-newbie issues:</strong></li></ul><p><a href="https://github.com/apache/dolphinscheduler/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+">https://github.com/apache/dolphinscheduler/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+</a></p><ul><li><strong>How to contribute:</strong></li></ul><p><a href="http://https//github.com/apache/dolphinscheduler/blob/8944fdc62295883b0fa46b137ba8aee4fde9711a/docs/docs/en/contribute/join/contribute.md">Https://github.com/apache/dolphinscheduler/blob/8944fdc62295883b0fa46b137ba8aee4fde9711a/docs/docs/en/contribute/join/contribute.md</a></p><ul><li><strong>GitHub Code Repository:</strong> <a href="https://github.com/apache/dolphinscheduler">https://github.com/apache/dolphinscheduler</a></li><li><strong>Official Website:</strong>https://dolphinscheduler.apache.org/en-us</li><li><strong>Mail List:</strong>dev@dolphinscheduler@apache.org</li><li><strong>X.com:</strong>@DolphinSchedule</li><li><strong>YouTube:</strong>https://www.youtube.com/@apachedolphinscheduler</li><li><strong>Slack:</strong>https://join.slack.com/t/asf-dolphinscheduler/shared_invite/zt-1cmrxsio1-nJHxRJa44jfkrNL_Nsy9Qg</li><li><strong>Contributor Guide:</strong><a href="https://dolphinscheduler.apache.org/en-us/community/index.html">https://dolphinscheduler.apache.org/en-us/community</a></li></ul><p>Your Star for the project is essential; don’t hesitate to light a Star for <a href="https://github.com/apache/dolphinscheduler">Apache DolphinScheduler</a> ❤️</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ebcc3e826d85" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What’s New in Apache DolphinScheduler This August: Stronger Security, Smarter Scheduling, and…]]></title>
            <link>https://medium.com/@ApacheDolphinScheduler/whats-new-in-apache-dolphinscheduler-this-august-stronger-security-smarter-scheduling-and-cc449e19439d?source=rss-8210139f433b------2</link>
            <guid isPermaLink="false">https://medium.com/p/cc449e19439d</guid>
            <category><![CDATA[apache-dolphinscheduler]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[big-data]]></category>
            <dc:creator><![CDATA[Apache DolphinScheduler]]></dc:creator>
            <pubDate>Fri, 11 Sep 2026 17:31:01 GMT</pubDate>
            <atom:updated>2026-09-11T17:31:01.750Z</atom:updated>
            <content:encoded><![CDATA[<h3>What’s New in Apache DolphinScheduler This August: Stronger Security, Smarter Scheduling, and Better Stability</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZY5KZIvoMPMNZl5p.jpg" /></figure><blockquote><em>The Apache DolphinScheduler August Monthly Report is here! Over the past month, the community continued to move the project forward with new improvements across functionality, performance, stability, and ecosystem development. Let’s take a closer look at the updates that stood out in August. And as always, a huge thank-you to everyone who contributed code, shared feedback, and supported the community. Every contribution helps DolphinScheduler continue to evolve!</em></blockquote><h3>📊 August at a Glance</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/366/1*DVk3C8lehnITvPE6ZBaYdA.png" /></figure><h3>🏆 Top Contributors</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/756/1*EBFrK7BoW67WbVDGRBGfPw.png" /></figure><h3>🔄 Code Changes</h3><h4>Breakdown by Category: Features / Performance / Bug Fixes / Architecture</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/373/1*A1ztq7LYJ9WKyHOpUsarDw.png" /></figure><p>Bug fixes accounted for the largest share of this month’s changes, at 39.1% (9 PRs). Combined with 6 feature PRs and 2 performance improvements, the overall development rhythm was clear: stability first, with a steady stream of new capabilities.</p><h4>📦 Key Modules</h4><blockquote><em>Ranked by the number of PR touches.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/753/1*Tk24A5dAvS1BjPu4QbLjjg.png" /></figure><p>What the module breakdown tells us:</p><ul><li>🏛️ API (15 touches) was the clear focus of this month’s changes, with 15/23 PRs involving the API module. Most of the work centered on strengthening authorization and removing obsolete APIs.</li><li>🏗️ DAO (7 touches) mainly supported the API changes, including query optimization by excluding large text fields and updates to authorization query logic.</li><li>🎨 UI (5 touches) saw several touchpoints, but most were relatively small changes (+49 net lines), serving primarily as supporting updates.</li><li>🔧 Master (4 touches) focused on scheduling stability, including task retries and failure recovery.</li></ul><h3>🎯 8 Changes Users Will Notice Most</h3><blockquote><em>The following updates are ranked by their potential user impact and focus on the changes that matter most in real-world deployments.</em></blockquote><h4>1. 🔐 Stronger Permissions and Security — 7 PRs</h4><p>Representative PR: <a href="https://github.com/apache/dolphinscheduler/pull/18561">#18561</a> — [Fix-18559][API] Align workflow mutations with project write permissions (#18561)</p><ul><li>Author: @ruanwenjun</li><li>Change size: +426 / -128 lines</li><li>PRs in this category this month: 7</li></ul><p>Why it matters: Tenant isolation is now stricter, sensitive operations are better protected, and the overall security and compliance posture is stronger. Seven PRs this month focused on strengthening the permission model, covering project write-permission checks, cross-project authorization for sub-workflows, datasource and cluster authorization, Actuator endpoint authentication, user-list data masking, and authorization API optimization. These changes are particularly important for enterprise and multi-tenant deployments.</p><p>Key scenarios to verify:</p><ul><li>✅ When creating, updating, or deleting a workflow, does the system strictly verify project-level write permissions?</li><li>✅ When referencing a sub-workflow, can the system verify that the user also has permission to access the referenced workflow, preventing unauthorized access across projects?</li><li>✅ When a task definition references a datasource, does the system verify that the current user has access to that datasource?</li><li>✅ Do cluster query APIs enforce permission checks consistently?</li><li>✅ Are user-list responses properly masked, with permissions appropriately restricted?</li><li>✅ Do sensitive Actuator endpoints require authentication before they can be accessed?</li></ul><p>Full list of related PRs:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/753/1*rpei64GskvEvonOcjXMkOQ.png" /></figure><h4>2. 🛡️ Stability and Bug Fixes — 4 PRs</h4><p>Representative PR: <a href="https://github.com/apache/dolphinscheduler/pull/18573">#18573</a> — [Fix-18570][Master] Detect wrapped CommandDuplicateHandleException in bootstrapError (#18570) (#18573)</p><ul><li>Author: @hellodml</li><li>Change size: +136 / -1 lines</li><li>PRs in this category this month: 4</li></ul><p>Why it matters: These fixes address abnormal workflow and task states, directly improving reliability in production. There were 9 bug-fix PRs in total this month, making bug fixing the largest category. The other bug-fix PRs are covered in dedicated sections for permissions, K8s, DataX, and documentation. The four core fixes below focus on issues outside those categories.</p><p>Key scenarios to verify:</p><ul><li>✅ Failed task retries: When recreating a failed task instance, is the runtime state correctly reset to prevent stale state from causing retry failures?</li><li>✅ Retry timing: Is the retry scheduled based on endTime + retryInterval rather than startTime?</li><li>✅ Master startup failures: Can bootstrapError correctly identify a CommandDuplicateHandleException after it has been wrapped?</li><li>✅ Log messages: Has the typo in DataSourceServiceImpl log messages been corrected to avoid confusion during troubleshooting?</li></ul><p>Full list of related PRs:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/751/1*mLVDF0X2ZZvPBtYOp_HQ4w.png" /></figure><h4>3. ⏰ Scheduling Policies / Missed-Fire Handling — 1 PR</h4><p>Representative PR: <a href="https://github.com/apache/dolphinscheduler/pull/18464">#18464</a> — [DSIP-18454][Scheduler] Add schedule missed fire policy (#18464)</p><ul><li>Author: @liang-wenjie</li><li>Change size: +542 / -7 lines</li><li>PRs in this category this month: 1</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/753/1*gwCJClEAHFCcV7NBZHzyGg.png" /></figure><p>Why it matters: This is the biggest new feature of the month. If the Master is down or the scheduling thread is blocked and cron triggers are missed, you can now configure one of three policies to determine how DolphinScheduler handles those missed triggers.</p><p>Key scenarios to verify:</p><ul><li>✅ When creating or editing a schedule, does the UI display the Missed Fire Policy dropdown?</li><li>✅ Simulate a two-hour Master outage by stopping the Master process and starting it again. Do the different policies behave as expected?</li><li>✅ Does the database upgrade script (3.5.0_schema) execute correctly, and does the t_ds_schedule table contain the newly added field?</li></ul><h4>4. ⚡ Performance Improvements — 2 PRs</h4><p>Representative PR: <a href="https://github.com/apache/dolphinscheduler/pull/18444">#18444</a> — [Improvement-18443][API&amp;DAO] Optimize WorkflowInstanceMapper to exclude large text fields from list queries (#18444)</p><ul><li>Author: @njnu-seafish</li><li>Change size: +790 / -268 lines</li><li>PRs in this category this month: 2</li></ul><p>Key scenarios to verify:</p><ul><li>✅ Compare workflow-instance list-page response times before and after the optimization, especially with 1,000+ instances.</li><li>✅ Open an individual workflow instance and verify that large fields such as global parameters are still displayed correctly. The detail API continues to retrieve them.</li><li>✅ Verify that list-page export, search, and other functions continue to work as expected.</li></ul><p>Full list of related PRs:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/754/1*ZNIwEYqUeIEKjbgWsZHBNg.png" /></figure><h4>5. 🔌 Task Types and New Data Sources — 1 PR</h4><p>Representative PR: <a href="https://github.com/apache/dolphinscheduler/pull/18434">#18434</a> — [Fix-18389][DataX] Read job definition from attached resource file when custom json is empty (#18434)</p><ul><li>Author: @nikhiln64</li><li>Change size: +344 / -8 lines</li><li>PRs in this category this month: 1</li></ul><p>Why it matters: Previously, DataX users had to paste JSON content into the custom JSON field in the UI and could not reuse files from the Resource Center. The new behavior allows DolphinScheduler to automatically read the job definition from a resource file when the custom JSON field is empty, bringing the experience in line with how SQL tasks load SQL from resource files.</p><h4>6. 🧹 API Cleanup and Engineering Improvements — 5 PRs</h4><p>Representative PR: <a href="https://github.com/apache/dolphinscheduler/pull/18569">#18569</a> — [Improvement-18568][API] Remove obsolete task update-with-upstream API (#18569)</p><ul><li>Author: @ruanwenjun</li><li>Change size: +2 / -507 lines</li><li>PRs in this category this month: 5</li></ul><p>Why it matters: This month, the community removed three groups of obsolete APIs covering cluster query-by-code, task update-with-upstream, and dynamic sub-workflow functionality, while also updating incompatible.md.</p><p>For users upgrading from an earlier version, this is an important area to review. If your organization has a custom frontend or automation scripts that rely on any of these legacy APIs, make sure to update them before upgrading.</p><p>Full list of related PRs:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/762/1*lo8PzT6tXKOAlZVXg50KgA.png" /></figure><h4>7. ☸️ K8s and Cloud-Native Deployment — 1 PR</h4><p>Representative PR: <a href="https://github.com/apache/dolphinscheduler/pull/18574">#18574</a> — [Fix-17883] Fix K8s Alert HTTP test sending failed by using IP for non-StatefulSet pods (#17883) (#18574)</p><ul><li>Author: @zhang-arvin</li><li>Change size: +10 / -3 lines</li><li>PRs in this category this month: 1</li></ul><p>Why it matters: For non-StatefulSet Pods in K8s, such as Pods managed by a Deployment, HTTP alert-instance testing could previously fail because the endpoint was resolved using the hostname. The fix switches to IP-based addressing, improving the reliability of alert channels in K8s deployments.</p><h4>8. 📚 Documentation and Example Improvements — 2 PRs</h4><p>Representative PR: <a href="https://github.com/apache/dolphinscheduler/pull/18478">#18478</a> — [Doc-18474][Upgrade] Fix zh/en incompatible upgrade docs out of sync (#18478)</p><ul><li>Author: @njnu-seafish</li><li>Change size: +11 / -15 lines</li><li>PRs in this category this month: 2</li></ul><p>Why it matters: Broken links in the data source and configuration documentation were fixed, while the Chinese and English upgrade-incompatibility documentation was brought back into alignment. These updates help reduce confusion and prevent issues caused by outdated or inconsistent documentation.</p><p>Full list of related PRs:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/753/1*KJiDHIbeBKOJy8GWuJxRCQ.png" /></figure><h3>⚠️ Upgrade and Validation Recommendations</h3><h4>Risk Assessment</h4><p>Overall Risk Level: 🟠 Medium-High</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/754/1*7IY3jrEBemC57HKM6Xm_Bg.png" /></figure><h4>Before You Upgrade</h4><ol><li>📦 Back up the database: Before upgrading, create a full backup of the DolphinScheduler metadata database using mysqldump or pg_dump.</li><li>📋 Check the DDL scripts: Verify that the new scripts under dolphinscheduler-dao/src/main/resources/sql/upgrade/3.5.0_schema/ are included in the upgrade process.</li><li>📝 Review incompatible changes: Pay particular attention to the four groups of API removals marked this month in <a href="https://github.com/apache/dolphinscheduler/blob/dev/docs/docs/en/guide/upgrade/incompatible.md">docs/docs/en/guide/upgrade/incompatible.md</a>.</li><li>🧪 Check custom integrations: If you use OpenAPI, search your codebase to make sure none of these three removed APIs are still being called:</li></ol><ul><li>cluster/query-by-code (PR #18584)</li><li>task/update-with-upstream (PR #18569)</li><li>Dynamic sub-workflow APIs (PR #18557)</li></ul><p>5. 💾 Back up configuration files: Back up all configuration files under the conf/ directory.</p><h3>Common Issues and Quick Checks</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/746/1*QazRC35-6rizN3n5MkrxRA.png" /></figure><h3>🙏 Thank You to Our Contributors</h3><p>A huge thank-you to the 10 contributors who contributed code to Apache DolphinScheduler in August 2026:</p><p>@ruanwenjun, @njnu-seafish, @SEPURI-SAI-KRISHNA, @kittimzhe, @nikhiln64, @hellodml, @zhang-arvin, @liang-wenjie, @hiSandog, and @SbloodyS</p><p>Every PR helps DolphinScheduler continue to evolve in stability, usability, and ecosystem growth. 💪</p><p><strong>Join the Community</strong></p><p>This open-source project is actively operated and maintained with deep involvement from WhaleOps.</p><p>Learn more about WhaleOps: <a href="https://www.whaleops.io/">https://www.whaleops.io/</a></p><p>There are many ways to participate and contribute to the DolphinScheduler community, including:</p><p><strong>Documents</strong>,<strong> translation</strong>,<strong> Q&amp;A</strong>,<strong> tests</strong>,<strong> codes</strong>,<strong> articles</strong>,<strong> keynote speeches</strong>,<strong> etc.</strong></p><p>We assume the first PR (document, code) to contribute to be simple and should be used to familiarize yourself with the submission process and community collaboration style.</p><p>So the community has compiled the following <strong>list of issues suitable for novices:</strong> <a href="https://github.com/apache/dolphinscheduler/contribute">https://github.com/apache/dolphinscheduler/contribute</a></p><ul><li><strong>List of non-newbie issues:</strong></li></ul><p><a href="https://github.com/apache/dolphinscheduler/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+">https://github.com/apache/dolphinscheduler/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+</a></p><ul><li><strong>How to contribute:</strong></li></ul><p><a href="http://https//github.com/apache/dolphinscheduler/blob/8944fdc62295883b0fa46b137ba8aee4fde9711a/docs/docs/en/contribute/join/contribute.md">Https://github.com/apache/dolphinscheduler/blob/8944fdc62295883b0fa46b137ba8aee4fde9711a/docs/docs/en/contribute/join/contribute.md</a></p><ul><li><strong>GitHub Code Repository:</strong> <a href="https://github.com/apache/dolphinscheduler">https://github.com/apache/dolphinscheduler</a></li><li><strong>Official Website:</strong>https://dolphinscheduler.apache.org/en-us</li><li><strong>Mail List:</strong>dev@dolphinscheduler@apache.org</li><li><strong>X.com:</strong>@DolphinSchedule</li><li><strong>YouTube:</strong>https://www.youtube.com/@apachedolphinscheduler</li><li><strong>Slack:</strong>https://join.slack.com/t/asf-dolphinscheduler/shared_invite/zt-1cmrxsio1-nJHxRJa44jfkrNL_Nsy9Qg</li><li><strong>Contributor Guide:</strong><a href="https://dolphinscheduler.apache.org/en-us/community/index.html">https://dolphinscheduler.apache.org/en-us/community</a></li></ul><p>Your Star for the project is essential; don’t hesitate to light a Star for <a href="https://github.com/apache/dolphinscheduler">Apache DolphinScheduler</a> ❤️</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cc449e19439d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[When a DolphinScheduler Task Has No Host: How Memory Protection Can Halt Scheduling]]></title>
            <link>https://medium.com/@ApacheDolphinScheduler/when-a-dolphinscheduler-task-has-no-host-how-memory-protection-can-halt-scheduling-f2d086b2d66e?source=rss-8210139f433b------2</link>
            <guid isPermaLink="false">https://medium.com/p/f2d086b2d66e</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[apache-dolphinscheduler]]></category>
            <category><![CDATA[open-source]]></category>
            <dc:creator><![CDATA[Apache DolphinScheduler]]></dc:creator>
            <pubDate>Fri, 11 Sep 2026 07:48:30 GMT</pubDate>
            <atom:updated>2026-09-11T07:48:30.857Z</atom:updated>
            <content:encoded><![CDATA[<h3>1. What Happened?</h3><h4>1.1 Alert</h4><p>At around 4 a.m., a series of scheduling failure alerts started coming in:</p><pre>scheduler failed<br>projectName: 数仓平台<br>processName: 【ods】同步MySQL「每小时」<br>taskName: OPTIMIZE table_records<br>taskType: SQL<br>taskState: FAILURE<br>taskEndTime: 2026-03-13 04:34:01</pre><h4>1.2 What We Saw in the UI</h4><p>After logging in to DolphinScheduler and checking the task instances, two things immediately stood out:</p><ul><li>Task status: Failed</li><li>Task instance Host: Empty</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*81KnsPIRlbAVgKoV.jpg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*c31BSFWWl6WudX-m.jpg" /></figure><p>So, what does an empty Host field actually mean?</p><p>No Worker node was willing to take the task.</p><p>The task never even got the chance to execute. It was rejected before it could be dispatched to a Worker.</p><h3>2. Troubleshooting</h3><h4>2.1 Check System Resources First</h4><p>The first question was straightforward: Was the machine running out of resources?</p><p>CPU usage was low, so CPU was not the bottleneck.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pD_l4DdiCBmjNXFQ.jpg" /></figure><p>Memory usage, however, was a different story.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2ikTleqlnIEn0z7c.jpg" /></figure><p>The immediate priority in production is to stop the bleeding, so the Worker was restarted first:</p><pre>docker restart dolphinscheduler-worker</pre><p>After the restart, the task was rerun successfully, and the business recovered.</p><p>But a restart only restores service. It does not explain why the problem happened in the first place. So the investigation continued.</p><h4>2.2 Check the Worker Logs</h4><p>Next, we searched the Worker logs for memory-related warnings and errors:</p><pre>grep -i &quot;memory\|error\|exception&quot; /data/dolphin/worker/logs/dolphinscheduler-worker.xxx.log | head -20</pre><p>The logs told us exactly where to look:</p><pre>[WARN] current cpu load average 0.03 is higher than 1.0<br>       or available memory 0.295 is lower than 0.3<br>[WARN] current cpu load average 0.03 is higher than 1.0<br>       or available memory 0.294 is lower than 0.3</pre><p>The Worker heartbeat runs a resource check every 10 seconds. The available memory ratio had repeatedly dropped to 29.5%, below the configured 30% threshold.</p><h4>2.3 Check the Master Logs</h4><p>The Master logs showed a similar picture:</p><pre>grep -i &quot;overload\|memory\|dispatch&quot; /data/dolphin/master/logs/dolphinscheduler-master.xxx.log | head -20</pre><pre>[WARN] Current available memory percentage 0.297 is too low, reserved.memory=0.3<br>[WARN] The current server is overload, cannot consumes commands.<br>[WARN] worker 10.0.1.100:1234 current cpu load average 0.0 is too high<br>       or available memory 4.57G is too low</pre><p>The Master-side behavior was now clear:</p><ol><li>The Master itself did not have enough available memory and stopped consuming scheduling commands.</li><li>Workers were considered overloaded, so the Master stopped dispatching tasks to them.</li></ol><p>In other words, the task was not failing because the SQL itself could not run. It was never successfully dispatched to a Worker in the first place.</p><h4>2.4 Confirm the Memory Situation</h4><p>We then checked the actual memory usage:</p><pre>$ free -h<br>               total   used    free    shared  buff/cache  available<br>Mem:           15Gi    8.9Gi   482Mi   1.1Gi   5.9Gi       4.9Gi</pre><p>Available memory was 4.9 GiB out of 15 GiB, or roughly 32%.</p><p>That was already dangerously close to the 30% threshold. Once the overnight batch workload caused even a small increase in memory usage, the available memory ratio could easily fall below the protection line.</p><h4>2.5 Find Out What Was Consuming the Memory</h4><p>The next step was to identify the biggest memory consumers:</p><pre>ps -aux --sort=-%mem | head -n 11</pre><p>The result was straightforward:</p><p>Master 4G + Worker 4G + API 1G + Alert 1G + Flink + MySQL + ZooKeeper</p><p>Everything was competing for memory on a machine with only 15 GiB of RAM.</p><h3>3. Root Cause</h3><h4>3.1 What Actually Happened?</h4><p>DolphinScheduler has a built-in memory protection mechanism:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/757/1*y-DBnB7TGufCzmACFqsqUQ.png" /></figure><p>When the available memory ratio drops below 30%, the protection mechanism kicks in:</p><pre>Master: &quot;There isn&#39;t enough memory, so I won&#39;t consume scheduling commands.&quot;<br>Worker: &quot;Memory is too low. Don&#39;t send me any more tasks.&quot;<br>Task instance: Host = empty<br>Result: Task fails</pre><p>This explains the seemingly strange combination we saw in the UI: a failed task with an empty Host field.</p><p>The task was blocked during scheduling and dispatching because both the Master and Worker sides detected insufficient available memory.</p><h4>3.2 Why Was Memory Running Low?</h4><p>The machine had only 15 GiB of memory, while the four DolphinScheduler components alone were configured with a combined 10 GiB of JVM heap:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/757/1*XrFPqflQzwMhr9nt46r7NQ.png" /></figure><p>The default 4 GiB heap settings for the Master and Worker were simply too aggressive for this machine.</p><p>In practice, their actual RSS usage was only around 1–2 GiB each, meaning a significant amount of memory was reserved without being actively used.</p><p>On a resource-constrained host, those JVM heap reservations left too little headroom for the rest of the stack and made the system much more likely to trigger DolphinScheduler’s memory protection mechanism.</p><h3>4. How to Fix It</h3><p>There are three possible approaches, listed in recommended order.</p><h4>Option 1: Reduce the Master and Worker JVM Heap Size — Recommended</h4><p>Add the following settings to the environment section of docker-compose.yml:</p><pre>dolphinscheduler-master:<br>  environment:<br>    - JAVA_OPTS=-Xms2g -Xmx2g -Xmn1g</pre><pre>dolphinscheduler-worker:<br>  environment:<br>    - JAVA_OPTS=-Xms2g -Xmx2g -Xmn1g</pre><p>This is the preferred approach because it addresses the underlying resource allocation issue instead of simply weakening the protection mechanism.</p><h4>Option 2: Lower the Memory Protection Threshold</h4><p>The default reserved.memory is 0.3, meaning DolphinScheduler reserves 30% of available memory as a safety margin.</p><p>It can be lowered to 10%:</p><pre>dolphinscheduler-master:<br>  environment:<br>    - MASTER_RESERVED_MEMORY=0.1</pre><pre>dolphinscheduler-worker:<br>  environment:<br>    - WORKER_RESERVED_MEMORY=0.1</pre><p>However, this is more of a workaround than a fundamental fix.</p><p>If the machine is genuinely short on memory, lowering the threshold does not create more memory. It simply allows the system to continue running under tighter resource conditions, which increases the risk of an OOM.</p><h4>Option 3: Set mem_limit for Containers</h4><p>You can also place explicit memory limits on individual containers to prevent one service from consuming too much memory and starving other components:</p><pre>dolphinscheduler-master:<br>  mem_limit: 3g</pre><pre>dolphinscheduler-worker:<br>  mem_limit: 3g</pre><p>This provides stronger resource isolation between containers, but it should be configured carefully according to the actual workload and memory requirements of each component.</p><h3>5. Verification</h3><p>In this case, we chose Option 1 and reduced the Master and Worker heap size from 4 GiB to 2 GiB.</p><p>After restarting the services, we verified the results.</p><h4>5.1 Memory Availability Improved</h4><pre>$ free -h<br>               total   used    free    shared  buff/cache  available<br>Mem:           15Gi    6.8Gi   2.6Gi   1.1Gi   5.9Gi       7.1Gi</pre><p>Available memory increased from 4.9 GiB to 7.1 GiB.</p><p>The available-memory ratio increased from approximately 32% to 47%, giving the system a much larger safety margin above the 30% protection threshold.</p><h4>5.2 Check Actual Container Memory Usage</h4><pre>$ docker stats --no-stream dolphinscheduler-master dolphinscheduler-worker<br>CONTAINER   NAME                     MEM USAGE / LIMIT    MEM %<br>aec302...   dolphinscheduler-master  1.098GiB / 15.34GiB  7.16%<br>cd6df5...   dolphinscheduler-worker  1.049GiB / 15.34GiB  6.84%</pre><p>The numbers looked much healthier:</p><ul><li>Master: 1.1 GiB actual memory usage, with a 2 GiB heap limit</li><li>Worker: 1.05 GiB actual memory usage, with a 2 GiB heap limit</li></ul><p>Both components had sufficient headroom for normal workloads.</p><h4>5.3 Verify the JVM Parameters</h4><p>Finally, we confirmed that the new JVM parameters were actually applied:</p><pre>$ docker exec dolphinscheduler-master ps -ef | grep java | head -1<br>/opt/java/openjdk/bin/java -Xms2g -Xmx2g -Xmn1g ... MasterServer</pre><p>The parameters were in effect, and the logs were back to normal. The previous memory warnings were no longer appearing.</p><h3>6. Takeaways</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/654/1*dvEGuOdbthQQS926lBv-Uw.png" /></figure><p>There are four practical lessons from this incident:</p><ol><li>DolphinScheduler’s default JVM heap settings may be too large for resource-constrained machines. Always size the heap according to the available hardware and actual workload.</li><li>reserved.memory=0.3 is a double-edged sword. It protects the system from running completely out of memory, but it can also prevent tasks from being dispatched when available memory falls below the safety threshold.</li><li>An empty Host field does not necessarily mean a network problem. In this case, it was a sign that the task could not be dispatched because DolphinScheduler’s memory protection mechanism rejected the overloaded nodes.</li><li>In production, restore service first, then investigate, and finally fix the underlying issue. Restart to stop the immediate impact, inspect the logs to identify the root cause, and adjust the resource configuration to prevent the problem from happening again.</li></ol><p><strong>Join the Community</strong></p><p>This open-source project is actively operated and maintained with deep involvement from WhaleOps.</p><p>Learn more about WhaleOps: <a href="https://www.whaleops.io/">https://www.whaleops.io/</a></p><p>There are many ways to participate and contribute to the DolphinScheduler community, including:</p><p><strong>Documents</strong>,<strong> translation</strong>,<strong> Q&amp;A</strong>,<strong> tests</strong>,<strong> codes</strong>,<strong> articles</strong>,<strong> keynote speeches</strong>,<strong> etc.</strong></p><p>We assume the first PR (document, code) to contribute to be simple and should be used to familiarize yourself with the submission process and community collaboration style.</p><p>So the community has compiled the following <strong>list of issues suitable for novices:</strong> <a href="https://github.com/apache/dolphinscheduler/contribute">https://github.com/apache/dolphinscheduler/contribute</a></p><ul><li><strong>List of non-newbie issues:</strong></li></ul><p><a href="https://github.com/apache/dolphinscheduler/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+">https://github.com/apache/dolphinscheduler/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+</a></p><ul><li><strong>How to contribute:</strong></li></ul><p><a href="http://https//github.com/apache/dolphinscheduler/blob/8944fdc62295883b0fa46b137ba8aee4fde9711a/docs/docs/en/contribute/join/contribute.md">Https://github.com/apache/dolphinscheduler/blob/8944fdc62295883b0fa46b137ba8aee4fde9711a/docs/docs/en/contribute/join/contribute.md</a></p><ul><li><strong>GitHub Code Repository:</strong> <a href="https://github.com/apache/dolphinscheduler">https://github.com/apache/dolphinscheduler</a></li><li><strong>Official Website:</strong>https://dolphinscheduler.apache.org/en-us</li><li><strong>Mail List:</strong>dev@dolphinscheduler@apache.org</li><li><strong>X.com:</strong>@DolphinSchedule</li><li><strong>YouTube:</strong>https://www.youtube.com/@apachedolphinscheduler</li><li><strong>Slack:</strong>https://join.slack.com/t/asf-dolphinscheduler/shared_invite/zt-1cmrxsio1-nJHxRJa44jfkrNL_Nsy9Qg</li><li><strong>Contributor Guide:</strong><a href="https://dolphinscheduler.apache.org/en-us/community/index.html">https://dolphinscheduler.apache.org/en-us/community</a></li></ul><p>Your Star for the project is essential; don’t hesitate to light a Star for <a href="https://github.com/apache/dolphinscheduler">Apache DolphinScheduler</a> ❤️</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f2d086b2d66e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Think DolphinScheduler Is Down? You’ll Know with Prometheus + Grafana]]></title>
            <link>https://medium.com/@ApacheDolphinScheduler/think-dolphinscheduler-is-down-youll-know-with-prometheus-grafana-f59dbf71bc96?source=rss-8210139f433b------2</link>
            <guid isPermaLink="false">https://medium.com/p/f59dbf71bc96</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[apache-dolphinscheduler]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[prometheus]]></category>
            <category><![CDATA[grafana]]></category>
            <dc:creator><![CDATA[Apache DolphinScheduler]]></dc:creator>
            <pubDate>Fri, 04 Sep 2026 17:01:03 GMT</pubDate>
            <atom:updated>2026-09-04T17:01:03.299Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>Ever had this happen? DolphinScheduler quietly goes down, your workflows stop running, and you’re sitting at your desk enjoying your coffee — until your manager suddenly asks, “Why hasn’t the data been updated yet?”</p><p>At that moment, your face probably looks just like the production service: completely stuck.</p><p>In our previous article, <a href="https://medium.com/@ApacheDolphinScheduler/when-workflows-get-stuck-troubleshooting-and-preventing-task-deadlocks-in-apache-dolphinscheduler-298b710c7553">When Workflows Get Stuck: Troubleshooting and Preventing Task Deadlocks in Apache DolphinScheduler</a>, we discussed an uncomfortable reality: if DolphinScheduler goes down because of blocking or a deadlock, it may not be able to alert you about the problem itself. After all, you can’t exactly expect a scheduler that has already “gone offline” to send you a farewell message.</p><p>We looked around and found surprisingly few complete, practical guides for integrating DolphinScheduler with Prometheus monitoring.</p><p>So this article fills that gap.</p><p>We’ll walk through a lightweight DolphinScheduler + Prometheus + Grafana monitoring setup that has been validated in production, covering the entire process from metric collection and alerting rules to dashboard visualization.</p><p>By the end, you should be able to find out when DolphinScheduler is in trouble — before someone else does.</p><h3>1. Architecture Overview</h3><p>Let’s start with the big picture. The entire monitoring pipeline can be broken down into three simple steps:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/1*ZBclgcsmJraAfoReBP7UhQ.png" /></figure><p>In simple terms:</p><p>DolphinScheduler collects the vital signs, Prometheus monitors them, and Grafana turns the data into something you can actually see.</p><p>With the three working together, you can finally enjoy your coffee with a little more peace of mind.</p><p>This time, for real.</p><h3>2. Integrating Prometheus</h3><h4>2.1 Verify That DolphinScheduler Exposes Metrics</h4><p>DolphinScheduler 2.0.0 and later include a built-in Prometheus metrics endpoint, so no additional plugin is required.</p><p>You can verify it directly with curl:</p><pre>curl http://&lt;dolphin-host&gt;:12345/dolphinscheduler/actuator/prometheus</pre><p>If the response contains a bunch of metrics beginning with ds_, congratulations—DolphinScheduler is ready to be monitored.</p><p>If you get a 404, your version may be too old. Upgrade DolphinScheduler first and then try again.</p><h4>2.2 Configure Prometheus to Scrape DolphinScheduler</h4><p>Add the following scrape configuration to prometheus.yml:</p><pre>scrape_configs:<br>  # Host monitoring (optional; used to monitor the server running DolphinScheduler)<br>  - job_name: &#39;node-exporter&#39;<br>    static_configs:<br>      - targets:<br>          - &#39;&lt;dolphin-host&gt;:9100&#39;<br>        labels:<br>          instance: &#39;dolphin-server&#39;<br>          nodename: &#39;dolphin-server&#39;<br><br># DolphinScheduler metrics<br>  - job_name: &#39;dolphinscheduler&#39;<br>    static_configs:<br>      - targets: [&#39;&lt;dolphin-host&gt;:12345&#39;]<br>        labels:<br>          service: dolphinscheduler<br>    metrics_path: &#39;/dolphinscheduler/actuator/prometheus&#39;<br>    metric_relabel_configs:<br>      - source_labels: [application]<br>        target_label: app<br>      - regex: &#39;application&#39;<br>        action: labeldrop</pre><blockquote><em>Tip: Replace </em><em>&lt;dolphin-host&gt; with the actual address of your DolphinScheduler service. If you’re running DolphinScheduler in a cluster, add all relevant nodes.</em></blockquote><h4>2.3 Configure Alerting Rules</h4><p>This is where things get serious.</p><p>What’s the point of monitoring if nobody gets notified when something goes wrong?</p><p>Create an alert rule file named dolphinscheduler-rules.yml. The following 10 rules have been validated in production and cover scenarios ranging from “DolphinScheduler is down” to “a workflow has gone off the rails.”</p><pre># DolphinScheduler monitoring alert rules<br>groups:<br>  - name: dolphinscheduler-alerts<br>    rules:<br><br><br># ============ Core rule: service availability ============<br>      # Rule 1: No successful tasks in the past hour (likely unavailable)<br>      - alert: DolphinSchedulerNoSuccessfulTasksForOneHour<br>        expr: increase(ds_task_instance_count_total{state=&quot;success&quot;}[1h]) == 0<br>        for: 5m<br>        labels:<br>          severity: critical<br>          group: dolphinscheduler<br>        annotations:<br>          summary: &quot;No successful DolphinScheduler tasks in the past hour&quot;<br>          description: &quot;Instance {{ $labels.application }} has produced no successful tasks in the past hour and may be unavailable. Check the service immediately.&quot;<br>      # Rule 2: No successful tasks in the past 30 minutes (early warning)<br>      - alert: DolphinSchedulerNoSuccessfulTasksFor30Minutes<br>        expr: increase(ds_task_instance_count_total{state=&quot;success&quot;}[30m]) == 0<br>        for: 5m<br>        labels:<br>          severity: warning<br>          group: dolphinscheduler<br>        annotations:<br>          summary: &quot;No successful DolphinScheduler tasks in the past 30 minutes&quot;<br>          description: &quot;Instance {{ $labels.application }} has produced no successful tasks in the past 30 minutes. Check the service.&quot;<br>      # ============ Task health checks ============<br>      # Rule 3: High task failure rate<br>      - alert: DolphinSchedulerHighTaskFailureRate<br>        expr: |<br>          (<br>            increase(ds_task_instance_count_total{state=&quot;fail&quot;}[10m])<br>            /<br>            (increase(ds_task_instance_count_total{state=&quot;finish&quot;}[10m]) + 1)<br>          ) &gt; 0.1<br>        for: 5m<br>        labels:<br>          severity: warning<br>          group: dolphinscheduler<br>        annotations:<br>          summary: &quot;High DolphinScheduler task failure rate&quot;<br>          description: &quot;Instance {{ $labels.application }} has a task failure rate above 10% over the past 10 minutes. Current failure rate: {{ $value | humanizePercentage }}&quot;<br>      # Rule 4: Task dispatch failures<br>      - alert: DolphinSchedulerTaskDispatchFailure<br>        expr: increase(ds_task_dispatch_failure_count_total[10m]) &gt; 0<br>        labels:<br>          severity: warning<br>          group: dolphinscheduler<br>        annotations:<br>          summary: &quot;DolphinScheduler task dispatch failure&quot;<br>          description: &quot;Instance {{ $labels.application }} has experienced {{ $value }} task dispatch failures in the past 10 minutes.&quot;<br>      # ============ Worker health checks ============<br>      # Rule 5: No active Worker threads (tasks have been submitted, but nothing is executing)<br>      - alert: DolphinSchedulerWorkerNoActiveThreads<br>        expr: ds_worker_active_execute_thread == 0 and increase(ds_task_instance_count_total{state=&quot;submit&quot;}[5m]) &gt; 0<br>        for: 10m<br>        labels:<br>          severity: warning<br>          group: dolphinscheduler<br>        annotations:<br>          summary: &quot;DolphinScheduler Worker has no active execution threads&quot;<br>          description: &quot;The Worker for instance {{ $labels.application }} has no active execution threads, while tasks have been submitted. Tasks may not be executing.&quot;<br>      # Rule 6: High Worker memory utilization<br>      - alert: DolphinSchedulerWorkerHighMemoryUsage<br>        expr: ds_worker_memory_usage &gt; 0.85<br>        for: 5m<br>        labels:<br>          severity: warning<br>          group: dolphinscheduler<br>        annotations:<br>          summary: &quot;High DolphinScheduler Worker memory usage&quot;<br>          description: &quot;The Worker for instance {{ $labels.application }} is using {{ $value | humanizePercentage }} memory, exceeding the 85% threshold.&quot;<br>      # Rule 7: High Worker CPU utilization<br>      - alert: DolphinSchedulerWorkerHighCPUUsage<br>        expr: ds_worker_cpu_usage &gt; 0.85<br>        for: 5m<br>        labels:<br>          severity: warning<br>          group: dolphinscheduler<br>        annotations:<br>          summary: &quot;High DolphinScheduler Worker CPU usage&quot;<br>          description: &quot;The Worker for instance {{ $labels.application }} is using {{ $value | humanizePercentage }} CPU, exceeding the 85% threshold.&quot;<br>      # ============ Workflow &amp; Master checks ============<br>      # Rule 8: Long-running workflow instances (potentially blocked)<br>      - alert: DolphinSchedulerLongRunningWorkflows<br>        expr: ds_workflow_instance_running &gt; 10<br>        for: 30m<br>        labels:<br>          severity: warning<br>          group: dolphinscheduler<br>        annotations:<br>          summary: &quot;Long-running DolphinScheduler workflows&quot;<br>          description: &quot;Instance {{ $labels.application }} has {{ $value }} workflow instances running for more than 30 minutes. Possible blocking detected.&quot;<br>      # Rule 9: Master failover check failures<br>      - alert: DolphinSchedulerMasterFailoverCheckFailure<br>        expr: increase(ds_master_scheduler_failover_check_count_total{result=&quot;fail&quot;}[10m]) &gt; 0<br>        labels:<br>          severity: critical<br>          group: dolphinscheduler<br>        annotations:<br>          summary: &quot;DolphinScheduler Master failover check failure&quot;<br>          description: &quot;Instance {{ $labels.application }} has recorded {{ $value }} Master failover check failures in the past 10 minutes.&quot;<br>      # ============ Alert channel self-check ============<br>      # Rule 10: Alert delivery failures (monitoring the monitoring system)<br>      - alert: DolphinSchedulerAlertDeliveryFailure<br>        expr: increase(ds_alert_send_count_total{status=&quot;fail&quot;}[10m]) &gt; 5<br>        labels:<br>          severity: warning<br>          group: dolphinscheduler<br>        annotations:<br>          summary: &quot;DolphinScheduler alert delivery failures&quot;<br>          description: &quot;Instance {{ $labels.application }} has experienced {{ $value }} alert delivery failures in the past 10 minutes.&quot;</pre><p>The 10 rules above can be grouped into four categories:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/753/1*Ir0KmIpA9lfVsnLUN9JQbg.png" /></figure><h4>2.4 Verify That Alerts Work</h4><p>When DolphinScheduler stops running or workflows become stalled for some reason, the corresponding alerts will be triggered automatically.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*TVLu_NGOg51rzG0D.jpg" /></figure><p>Now, when the service goes down, you can find out immediately instead of waiting until your manager finds out first.</p><p>That’s the whole point of monitoring.</p><h3>3. Building a Grafana Dashboard</h3><p>Alerts alone are not enough. You also need a dashboard that gives you a quick visual overview of the scheduler’s health.</p><p>That’s where Grafana comes in.</p><blockquote><em>Prerequisite: Grafana must already be connected to Prometheus as a data source. If it isn’t, go to Grafana → Configuration → Data Sources and add Prometheus.</em></blockquote><h4>3.1 Import the Dashboard</h4><p>Go to:</p><p>Grafana → Dashboards → New → Import</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*T72erYC-gJtUgZLo.jpg" /></figure><p><strong>Option 1: Import by Dashboard ID</strong></p><p>This is the recommended approach.</p><p>On the import page, enter the dashboard ID:</p><pre>24841</pre><p>Then click Load.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*dJs2pq1Y8iugrjkg.jpg" /></figure><p>This is the easiest option. One number is all it takes, and you can skip the hassle of manually configuring the dashboard JSON.</p><p><strong>Option 2: Import from a JSON Template</strong></p><p>If your Grafana instance cannot access the public internet — for example, in a corporate network environment — you can manually import the following JSON template.</p><p>The JSON is quite long, so the compressed version is provided below. Copy it directly into Grafana’s JSON import field:</p><pre>{&quot;__inputs&quot;:[{&quot;name&quot;:&quot;DS_PROMETHEUS&quot;,&quot;label&quot;:&quot;Prometheus&quot;,&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;datasource&quot;,&quot;pluginId&quot;:&quot;prometheus&quot;,&quot;pluginName&quot;:&quot;Prometheus&quot;}],&quot;__requires&quot;:[{&quot;type&quot;:&quot;grafana&quot;,&quot;id&quot;:&quot;grafana&quot;,&quot;name&quot;:&quot;Grafana&quot;,&quot;version&quot;:&quot;9.0.0&quot;},{&quot;type&quot;:&quot;datasource&quot;,&quot;id&quot;:&quot;prometheus&quot;,&quot;name&quot;:&quot;Prometheus&quot;,&quot;version&quot;:&quot;1.0.0&quot;},{&quot;type&quot;:&quot;panel&quot;,&quot;id&quot;:&quot;stat&quot;,&quot;name&quot;:&quot;Stat&quot;,&quot;version&quot;:&quot;&quot;},{&quot;type&quot;:&quot;panel&quot;,&quot;id&quot;:&quot;gauge&quot;,&quot;name&quot;:&quot;Gauge&quot;,&quot;version&quot;:&quot;&quot;},{&quot;type&quot;:&quot;panel&quot;,&quot;id&quot;:&quot;timeseries&quot;,&quot;name&quot;:&quot;Time series&quot;,&quot;version&quot;:&quot;&quot;},{&quot;type&quot;:&quot;panel&quot;,&quot;id&quot;:&quot;piechart&quot;,&quot;name&quot;:&quot;Pie chart&quot;,&quot;version&quot;:&quot;&quot;},{&quot;type&quot;:&quot;panel&quot;,&quot;id&quot;:&quot;bargauge&quot;,&quot;name&quot;:&quot;Bar gauge&quot;,&quot;version&quot;:&quot;&quot;}],&quot;annotations&quot;:{&quot;list&quot;:[{&quot;builtIn&quot;:1,&quot;datasource&quot;:{&quot;type&quot;:&quot;datasource&quot;,&quot;uid&quot;:&quot;grafana&quot;},&quot;enable&quot;:true,&quot;hide&quot;:true,&quot;iconColor&quot;:&quot;rgba(0, 211, 255, 1)&quot;,&quot;name&quot;:&quot;Annotations &amp; Alerts&quot;,&quot;type&quot;:&quot;dashboard&quot;}]},&quot;editable&quot;:true,&quot;fiscalYearStartMonth&quot;:0,&quot;graphTooltip&quot;:0,&quot;id&quot;:null,&quot;links&quot;:[],&quot;liveNow&quot;:false,&quot;panels&quot;:[{&quot;datasource&quot;:{&quot;type&quot;:&quot;prometheus&quot;,&quot;uid&quot;:&quot;${datasource}&quot;},&quot;fieldConfig&quot;:{&quot;defaults&quot;:{&quot;color&quot;:{&quot;mode&quot;:&quot;thresholds&quot;},&quot;mappings&quot;:[],&quot;thresholds&quot;:{&quot;mode&quot;:&quot;absolute&quot;,&quot;steps&quot;:[{&quot;color&quot;:&quot;green&quot;,&quot;value&quot;:null}]},&quot;unit&quot;:&quot;short&quot;},&quot;overrides&quot;:[]},&quot;gridPos&quot;:{&quot;h&quot;:4,&quot;w&quot;:4,&quot;x&quot;:0,&quot;y&quot;:0},&quot;id&quot;:1,&quot;options&quot;:{&quot;colorMode&quot;:&quot;value&quot;,&quot;graphMode&quot;:&quot;area&quot;,&quot;justifyMode&quot;:&quot;auto&quot;,&quot;orientation&quot;:&quot;auto&quot;,&quot;reduceOptions&quot;:{&quot;values&quot;:false,&quot;calcs&quot;:[&quot;lastNotNull&quot;],&quot;fields&quot;:&quot;&quot;},&quot;textMode&quot;:&quot;auto&quot;},&quot;pluginVersion&quot;:&quot;9.5.0&quot;,&quot;targets&quot;:[{&quot;datasource&quot;:{&quot;type&quot;:&quot;prometheus&quot;,&quot;uid&quot;:&quot;${datasource}&quot;},&quot;expr&quot;:&quot;ds_task_instance_count_total{state=\&quot;success\&quot;}&quot;,&quot;refId&quot;:&quot;A&quot;}],&quot;title&quot;:&quot;Task Success Total&quot;,&quot;type&quot;:&quot;stat&quot;},{&quot;datasource&quot;:{&quot;type&quot;:&quot;prometheus&quot;,&quot;uid&quot;:&quot;${datasource}&quot;},&quot;fieldConfig&quot;:{&quot;defaults&quot;:{&quot;color&quot;:{&quot;mode&quot;:&quot;thresholds&quot;},&quot;mappings&quot;:[],&quot;thresholds&quot;:{&quot;mode&quot;:&quot;absolute&quot;,&quot;steps&quot;:[{&quot;color&quot;:&quot;green&quot;,&quot;value&quot;:null},{&quot;color&quot;:&quot;red&quot;,&quot;value&quot;:1}]},&quot;unit&quot;:&quot;short&quot;},&quot;overrides&quot;:[]},&quot;gridPos&quot;:{&quot;h&quot;:4,&quot;w&quot;:4,&quot;x&quot;:4,&quot;y&quot;:0},&quot;id&quot;:2,&quot;options&quot;:{&quot;colorMode&quot;:&quot;value&quot;,&quot;graphMode&quot;:&quot;area&quot;,&quot;justifyMode&quot;:&quot;auto&quot;,&quot;orientation&quot;:&quot;auto&quot;,&quot;reduceOptions&quot;:{&quot;values&quot;:false,&quot;calcs&quot;:[&quot;lastNotNull&quot;],&quot;fields&quot;:&quot;&quot;},&quot;textMode&quot;:&quot;auto&quot;},&quot;pluginVersion&quot;:&quot;9.5.0&quot;,&quot;targets&quot;:[{&quot;datasource&quot;:{&quot;type&quot;:&quot;prometheus&quot;,&quot;uid&quot;:&quot;${datasource}&quot;},&quot;expr&quot;:&quot;ds_task_instance_count_total{state=\&quot;fail\&quot;}&quot;,&quot;refId&quot;:&quot;A&quot;}],&quot;title&quot;:&quot;Task Failure Total&quot;,&quot;type&quot;:&quot;stat&quot;},{&quot;datasource&quot;:{&quot;type&quot;:&quot;prometheus&quot;,&quot;uid&quot;:&quot;${datasource}&quot;},&quot;fieldConfig&quot;:{&quot;defaults&quot;:{&quot;color&quot;:{&quot;mode&quot;:&quot;thresholds&quot;},&quot;mappings&quot;:[],&quot;thresholds&quot;:{&quot;mode&quot;:&quot;absolute&quot;,&quot;steps&quot;:[{&quot;color&quot;:&quot;blue&quot;,&quot;value&quot;:null}]},&quot;unit&quot;:&quot;short&quot;},&quot;overrides&quot;:[]},&quot;gridPos&quot;:{&quot;h&quot;:4,&quot;w&quot;:4,&quot;x&quot;:8,&quot;y&quot;:0},&quot;id&quot;:3,&quot;options&quot;:{&quot;colorMode&quot;:&quot;value&quot;,&quot;graphMode&quot;:&quot;area&quot;,&quot;justifyMode&quot;:&quot;auto&quot;,&quot;orientation&quot;:&quot;auto&quot;,&quot;reduceOptions&quot;:{&quot;values&quot;:false,&quot;calcs&quot;:[&quot;lastNotNull&quot;],&quot;fields&quot;:&quot;&quot;},&quot;textMode&quot;:&quot;auto&quot;},&quot;pluginVersion&quot;:&quot;9.5.0&quot;,&quot;targets&quot;:[{&quot;datasource&quot;:{&quot;type&quot;:&quot;prometheus&quot;,&quot;uid&quot;:&quot;${datasource}&quot;},&quot;expr&quot;:&quot;ds_workflow_instance_running&quot;,&quot;refId&quot;:&quot;A&quot;}],&quot;title&quot;:&quot;Running Workflows&quot;,&quot;type&quot;:&quot;stat&quot;},{&quot;datasource&quot;:{&quot;type&quot;:&quot;prometheus&quot;,&quot;uid&quot;:&quot;${datasource}&quot;},&quot;fieldConfig&quot;:{&quot;defaults&quot;:{&quot;color&quot;:{&quot;mode&quot;:&quot;thresholds&quot;},&quot;mappings&quot;:[],&quot;max&quot;:1,&quot;min&quot;:0,&quot;thresholds&quot;:{&quot;mode&quot;:&quot;absolute&quot;,&quot;steps&quot;:[{&quot;color&quot;:&quot;green&quot;,&quot;value&quot;:null},{&quot;color&quot;:&quot;yellow&quot;,&quot;value&quot;:0.7},{&quot;color&quot;:&quot;red&quot;,&quot;value&quot;:0.85}]},&quot;unit&quot;:&quot;percentunit&quot;},&quot;overrides&quot;:[]},&quot;gridPos&quot;:{&quot;h&quot;:4,&quot;w&quot;:6,&quot;x&quot;:12,&quot;y&quot;:0},&quot;id&quot;:4,&quot;options&quot;:{&quot;orientation&quot;:&quot;auto&quot;,&quot;reduceOptions&quot;:{&quot;values&quot;:false,&quot;calcs&quot;:[&quot;lastNotNull&quot;],&quot;fields&quot;:&quot;&quot;},&quot;showThresholdLabels&quot;:false,&quot;showThresholdMarkers&quot;:true},&quot;pluginVersion&quot;:&quot;9.5.0&quot;,&quot;targets&quot;:[{&quot;datasource&quot;:{&quot;type&quot;:&quot;prometheus&quot;,&quot;uid&quot;:&quot;${datasource}&quot;},&quot;expr&quot;:&quot;ds_worker_memory_usage&quot;,&quot;refId&quot;:&quot;A&quot;}],&quot;title&quot;:&quot;Worker Memory Usage&quot;,&quot;type&quot;:&quot;gauge&quot;},{&quot;datasource&quot;:{&quot;type&quot;:&quot;prometheus&quot;,&quot;uid&quot;:&quot;${datasource}&quot;},&quot;fieldConfig&quot;:{&quot;defaults&quot;:{&quot;color&quot;:{&quot;mode&quot;:&quot;thresholds&quot;},&quot;mappings&quot;:[],&quot;max&quot;:1,&quot;min&quot;:0,&quot;thresholds&quot;:{&quot;mode&quot;:&quot;absolute&quot;,&quot;steps&quot;:[{&quot;color&quot;:&quot;green&quot;,&quot;value&quot;:null},{&quot;color&quot;:&quot;yellow&quot;,&quot;value&quot;:0.7},{&quot;color&quot;:&quot;red&quot;,&quot;value&quot;:0.85}]},&quot;unit&quot;:&quot;percentunit&quot;},&quot;overrides&quot;:[]},&quot;gridPos&quot;:{&quot;h&quot;:4,&quot;w&quot;:6,&quot;x&quot;:18,&quot;y&quot;:0},&quot;id&quot;:5,&quot;options&quot;:{&quot;orientation&quot;:&quot;auto&quot;,&quot;reduceOptions&quot;:{&quot;values&quot;:false,&quot;calcs&quot;:[&quot;lastNotNull&quot;],&quot;fields&quot;:&quot;&quot;},&quot;showThresholdLabels&quot;:false,&quot;showThresholdMarkers&quot;:true},&quot;pluginVersion&quot;:&quot;9.5.0&quot;,&quot;targets&quot;:[{&quot;datasource&quot;:{&quot;type&quot;:&quot;prometheus&quot;,&quot;uid&quot;:&quot;${datasource}&quot;},&quot;expr&quot;:&quot;ds_worker_cpu_usage&quot;,&quot;refId&quot;:&quot;A&quot;}],&quot;title&quot;:&quot;Worker CPU Usage&quot;,&quot;type&quot;:&quot;gauge&quot;},{&quot;datasource&quot;:{&quot;type&quot;:&quot;prometheus&quot;,&quot;uid&quot;:&quot;${datasource}&quot;},&quot;fieldConfig&quot;:{&quot;defaults&quot;:{&quot;color&quot;:{&quot;mode&quot;:&quot;palette-classic&quot;},&quot;custom&quot;:{&quot;axisCenteredZero&quot;:false,&quot;axisColorMode&quot;:&quot;text&quot;,&quot;axisLabel&quot;:&quot;&quot;,&quot;axisPlacement&quot;:&quot;auto&quot;,&quot;barAlignment&quot;:0,&quot;drawStyle&quot;:&quot;line&quot;,&quot;fillOpacity&quot;:10,&quot;gradientMode&quot;:&quot;none&quot;,&quot;hideFrom&quot;:{&quot;tooltip&quot;:false,&quot;viz&quot;:false,&quot;legend&quot;:false},&quot;lineInterpolation&quot;:&quot;linear&quot;,&quot;lineWidth&quot;:1,&quot;pointSize&quot;:5,&quot;scaleDistribution&quot;:{&quot;type&quot;:&quot;linear&quot;},&quot;showPoints&quot;:&quot;never&quot;,&quot;spanNulls&quot;:false,&quot;stacking&quot;:{&quot;group&quot;:&quot;A&quot;,&quot;mode&quot;:&quot;none&quot;},&quot;thresholdsStyle&quot;:{&quot;mode&quot;:&quot;off&quot;}},&quot;mappings&quot;:[],&quot;thresholds&quot;:{&quot;mode&quot;:&quot;absolute&quot;,&quot;steps&quot;:[{&quot;color&quot;:&quot;green&quot;,&quot;value&quot;:null}]},&quot;unit&quot;:&quot;short&quot;},&quot;overrides&quot;:[{&quot;matcher&quot;:{&quot;id&quot;:&quot;byName&quot;,&quot;options&quot;:&quot;success&quot;},&quot;properties&quot;:[{&quot;id&quot;:&quot;color&quot;,&quot;value&quot;:{&quot;fixedColor&quot;:&quot;green&quot;,&quot;mode&quot;:&quot;fixed&quot;}}]},{&quot;matcher&quot;:{&quot;id&quot;:&quot;byName&quot;,&quot;options&quot;:&quot;fail&quot;},&quot;properties&quot;:[{&quot;id&quot;:&quot;color&quot;,&quot;value&quot;:{&quot;fixedColor&quot;:&quot;red&quot;,&quot;mode&quot;:&quot;fixed&quot;}}]}]},&quot;gridPos&quot;:{&quot;h&quot;:8,&quot;w&quot;:12,&quot;x&quot;:0,&quot;y&quot;:4},&quot;id&quot;:6,&quot;options&quot;:{&quot;legend&quot;:{&quot;calcs&quot;:[&quot;last&quot;,&quot;max&quot;],&quot;displayMode&quot;:&quot;table&quot;,&quot;placement&quot;:&quot;bottom&quot;,&quot;showLegend&quot;:true},&quot;tooltip&quot;:{&quot;mode&quot;:&quot;multi&quot;,&quot;sort&quot;:&quot;none&quot;}},&quot;pluginVersion&quot;:&quot;9.5.0&quot;,&quot;targets&quot;:[{&quot;datasource&quot;:{&quot;type&quot;:&quot;prometheus&quot;,&quot;uid&quot;:&quot;${datasource}&quot;},&quot;expr&quot;:&quot;increase(ds_task_instance_count_total{state=\&quot;success\&quot;}[5m])&quot;,&quot;legendFormat&quot;:&quot;success&quot;,&quot;refId&quot;:&quot;A&quot;},{&quot;datasource&quot;:{&quot;type&quot;:&quot;prometheus&quot;,&quot;uid&quot;:&quot;${datasource}&quot;},&quot;expr&quot;:&quot;increase(ds_task_instance_count_total{state=\&quot;fail\&quot;}[5m])&quot;,&quot;legendFormat&quot;:&quot;fail&quot;,&quot;refId&quot;:&quot;B&quot;},{&quot;datasource&quot;:{&quot;type&quot;:&quot;prometheus&quot;,&quot;uid&quot;:&quot;${datasource}&quot;},&quot;expr&quot;:&quot;increase(ds_task_instance_count_total{state=\&quot;timeout\&quot;}[5m])&quot;,&quot;legendFormat&quot;:&quot;timeout&quot;,&quot;refId&quot;:&quot;C&quot;}],&quot;title&quot;:&quot;Task Execution Trend (5-Minute Increment)&quot;,&quot;type&quot;:&quot;timeseries&quot;},{&quot;datasource&quot;:{&quot;type&quot;:&quot;prometheus&quot;,&quot;uid&quot;:&quot;${datasource}&quot;},&quot;fieldConfig&quot;:{&quot;defaults&quot;:{&quot;color&quot;:{&quot;mode&quot;:&quot;palette-classic&quot;},&quot;custom&quot;:{&quot;hideFrom&quot;:{&quot;tooltip&quot;:false,&quot;viz&quot;:false,&quot;legend&quot;:false}},&quot;mappings&quot;:[],&quot;unit&quot;:&quot;short&quot;},&quot;overrides&quot;:[]},&quot;gridPos&quot;:{&quot;h&quot;:8,&quot;w&quot;:6,&quot;x&quot;:12,&quot;y&quot;:4},&quot;id&quot;:7,&quot;options&quot;:{&quot;legend&quot;:{&quot;displayMode&quot;:&quot;table&quot;,&quot;placement&quot;:&quot;right&quot;,&quot;showLegend&quot;:true,&quot;values&quot;:[&quot;value&quot;,&quot;percent&quot;]},&quot;pieType&quot;:&quot;pie&quot;,&quot;tooltip&quot;:{&quot;mode&quot;:&quot;single&quot;,&quot;sort&quot;:&quot;none&quot;}},&quot;pluginVersion&quot;:&quot;9.5.0&quot;,&quot;targets&quot;:[{&quot;datasource&quot;:{&quot;type&quot;:&quot;prometheus&quot;,&quot;uid&quot;:&quot;${datasource}&quot;},&quot;expr&quot;:&quot;ds_task_instance_count_total&quot;,&quot;legendFormat&quot;:&quot;{{state}}&quot;,&quot;refId&quot;:&quot;A&quot;}],&quot;title&quot;:&quot;Task Status Distribution&quot;,&quot;type&quot;:&quot;piechart&quot;},{&quot;datasource&quot;:{&quot;type&quot;:&quot;prometheus&quot;,&quot;uid&quot;:&quot;${datasource}&quot;},&quot;fieldConfig&quot;:{&quot;defaults&quot;:{&quot;color&quot;:{&quot;mode&quot;:&quot;thresholds&quot;},&quot;mappings&quot;:[],&quot;max&quot;:1,&quot;min&quot;:0,&quot;thresholds&quot;:{&quot;mode&quot;:&quot;absolute&quot;,&quot;steps&quot;:[{&quot;color&quot;:&quot;green&quot;,&quot;value&quot;:null},{&quot;color&quot;:&quot;yellow&quot;,&quot;value&quot;:0.05},{&quot;color&quot;:&quot;red&quot;,&quot;value&quot;:0.1}]},&quot;unit&quot;:&quot;percentunit&quot;},&quot;overrides&quot;:[]},&quot;gridPos&quot;:{&quot;h&quot;:8,&quot;w&quot;:6,&quot;x&quot;:18,&quot;y&quot;:4},&quot;id&quot;:8,&quot;options&quot;:{&quot;orientation&quot;:&quot;auto&quot;,&quot;reduceOptions&quot;:{&quot;values&quot;:false,&quot;calcs&quot;:[&quot;lastNotNull&quot;],&quot;fields&quot;:&quot;&quot;},&quot;showThresholdLabels&quot;:false,&quot;showThresholdMarkers&quot;:true},&quot;pluginVersion&quot;:&quot;9.5.0&quot;,&quot;targets&quot;:[{&quot;datasource&quot;:{&quot;type&quot;:&quot;prometheus&quot;,&quot;uid&quot;:&quot;${datasource}&quot;},&quot;expr&quot;:&quot;rate(ds_task_instance_count_total{state=\&quot;fail\&quot;}[10m]) / (rate(ds_task_instance_count_total{state=\&quot;finish\&quot;}[10m]) + 0.001)&quot;,&quot;refId&quot;:&quot;A&quot;}],&quot;title&quot;:&quot;Task Failure Rate (10 Minutes)&quot;,&quot;type&quot;:&quot;gauge&quot;},{&quot;datasource&quot;:{&quot;type&quot;:&quot;prometheus&quot;,&quot;uid&quot;:&quot;${datasource}&quot;},&quot;fieldConfig&quot;:{&quot;defaults&quot;:{&quot;color&quot;:{&quot;mode&quot;:&quot;thresholds&quot;},&quot;mappings&quot;:[],&quot;thresholds&quot;:{&quot;mode&quot;:&quot;absolute&quot;,&quot;steps&quot;:[{&quot;color&quot;:&quot;blue&quot;,&quot;value&quot;:null}]},&quot;unit&quot;:&quot;short&quot;},&quot;overrides&quot;:[]},&quot;gridPos&quot;:{&quot;h&quot;:8,&quot;w&quot;:12,&quot;x&quot;:0,&quot;y&quot;:12},&quot;id&quot;:9,&quot;options&quot;:{&quot;displayMode&quot;:&quot;gradient&quot;,&quot;minVizHeight&quot;:10,&quot;minVizWidth&quot;:0,&quot;orientation&quot;:&quot;horizontal&quot;,&quot;reduceOptions&quot;:{&quot;values&quot;:false,&quot;calcs&quot;:[&quot;lastNotNull&quot;],&quot;fields&quot;:&quot;&quot;},&quot;showUnfilled&quot;:true},&quot;pluginVersion&quot;:&quot;9.5.0&quot;,&quot;targets&quot;:[{&quot;datasource&quot;:{&quot;type&quot;:&quot;prometheus&quot;,&quot;uid&quot;:&quot;${datasource}&quot;},&quot;expr&quot;:&quot;ds_task_execution_count_by_type_total &gt; 0&quot;,&quot;legendFormat&quot;:&quot;{{task_type}}&quot;,&quot;refId&quot;:&quot;A&quot;}],&quot;title&quot;:&quot;Task Type Distribution&quot;,&quot;type&quot;:&quot;bargauge&quot;},{&quot;datasource&quot;:{&quot;type&quot;:&quot;prometheus&quot;,&quot;uid&quot;:&quot;${datasource}&quot;},&quot;fieldConfig&quot;:{&quot;defaults&quot;:{&quot;color&quot;:{&quot;mode&quot;:&quot;palette-classic&quot;},&quot;custom&quot;:{&quot;axisCenteredZero&quot;:false,&quot;axisColorMode&quot;:&quot;text&quot;,&quot;axisLabel&quot;:&quot;&quot;,&quot;axisPlacement&quot;:&quot;auto&quot;,&quot;barAlignment&quot;:0,&quot;drawStyle&quot;:&quot;line&quot;,&quot;fillOpacity&quot;:10,&quot;gradientMode&quot;:&quot;none&quot;,&quot;hideFrom&quot;:{&quot;tooltip&quot;:false,&quot;viz&quot;:false,&quot;legend&quot;:false},&quot;lineInterpolation&quot;:&quot;linear&quot;,&quot;lineWidth&quot;:1,&quot;pointSize&quot;:5,&quot;scaleDistribution&quot;:{&quot;type&quot;:&quot;linear&quot;},&quot;showPoints&quot;:&quot;never&quot;,&quot;spanNulls&quot;:false,&quot;stacking&quot;:{&quot;group&quot;:&quot;A&quot;,&quot;mode&quot;:&quot;none&quot;},&quot;thresholdsStyle&quot;:{&quot;mode&quot;:&quot;off&quot;}},&quot;mappings&quot;:[],&quot;thresholds&quot;:{&quot;mode&quot;:&quot;absolute&quot;,&quot;steps&quot;:[{&quot;color&quot;:&quot;green&quot;,&quot;value&quot;:null}]},&quot;unit&quot;:&quot;short&quot;},&quot;overrides&quot;:[]},&quot;gridPos&quot;:{&quot;h&quot;:8,&quot;w&quot;:12,&quot;x&quot;:12,&quot;y&quot;:12},&quot;id&quot;:10,&quot;options&quot;:{&quot;legend&quot;:{&quot;calcs&quot;:[&quot;last&quot;],&quot;displayMode&quot;:&quot;table&quot;,&quot;placement&quot;:&quot;bottom&quot;,&quot;showLegend&quot;:true},&quot;tooltip&quot;:{&quot;mode&quot;:&quot;multi&quot;,&quot;sort&quot;:&quot;none&quot;}},&quot;pluginVersion&quot;:&quot;9.5.0&quot;,&quot;targets&quot;:[{&quot;datasource&quot;:{&quot;type&quot;:&quot;prometheus&quot;,&quot;uid&quot;:&quot;${datasource}&quot;},&quot;expr&quot;:&quot;ds_workflow_instance_running&quot;,&quot;legendFormat&quot;:&quot;Running&quot;,&quot;refId&quot;:&quot;A&quot;},{&quot;datasource&quot;:{&quot;type&quot;:&quot;prometheus&quot;,&quot;uid&quot;:&quot;${datasource}&quot;},&quot;expr&quot;:&quot;increase(ds_workflow_instance_count_total{state=\&quot;success\&quot;}[5m])&quot;,&quot;legendFormat&quot;:&quot;Success-{{process_definition_code}}&quot;,&quot;refId&quot;:&quot;B&quot;}],&quot;title&quot;:&quot;Workflow Instance Trend&quot;,&quot;type&quot;:&quot;timeseries&quot;},{&quot;datasource&quot;:{&quot;type&quot;:&quot;prometheus&quot;,&quot;uid&quot;:&quot;${datasource}&quot;},&quot;fieldConfig&quot;:{&quot;defaults&quot;:{&quot;color&quot;:{&quot;mode&quot;:&quot;palette-classic&quot;},&quot;custom&quot;:{&quot;axisCenteredZero&quot;:false,&quot;axisColorMode&quot;:&quot;text&quot;,&quot;axisLabel&quot;:&quot;&quot;,&quot;axisPlacement&quot;:&quot;auto&quot;,&quot;barAlignment&quot;:0,&quot;drawStyle&quot;:&quot;line&quot;,&quot;fillOpacity&quot;:10,&quot;gradientMode&quot;:&quot;none&quot;,&quot;hideFrom&quot;:{&quot;tooltip&quot;:false,&quot;viz&quot;:false,&quot;legend&quot;:false},&quot;lineInterpolation&quot;:&quot;linear&quot;,&quot;lineWidth&quot;:1,&quot;pointSize&quot;:5,&quot;scaleDistribution&quot;:{&quot;type&quot;:&quot;linear&quot;},&quot;showPoints&quot;:&quot;never&quot;,&quot;spanNulls&quot;:false,&quot;stacking&quot;:{&quot;group&quot;:&quot;A&quot;,&quot;mode&quot;:&quot;none&quot;},&quot;thresholdsStyle&quot;:{&quot;mode&quot;:&quot;off&quot;}},&quot;mappings&quot;:[],&quot;thresholds&quot;:{&quot;mode&quot;:&quot;absolute&quot;,&quot;steps&quot;:[{&quot;color&quot;:&quot;green&quot;,&quot;value&quot;:null}]},&quot;unit&quot;:&quot;short&quot;},&quot;overrides&quot;:[{&quot;matcher&quot;:{&quot;id&quot;:&quot;byName&quot;,&quot;options&quot;:&quot;Memory Usage&quot;},&quot;properties&quot;:[{&quot;id&quot;:&quot;unit&quot;,&quot;value&quot;:&quot;percentunit&quot;},{&quot;id&quot;:&quot;custom.axisPlacement&quot;,&quot;value&quot;:&quot;right&quot;}]},{&quot;matcher&quot;:{&quot;id&quot;:&quot;byName&quot;,&quot;options&quot;:&quot;CPU Usage&quot;},&quot;properties&quot;:[{&quot;id&quot;:&quot;unit&quot;,&quot;value&quot;:&quot;percentunit&quot;},{&quot;id&quot;:&quot;custom.axisPlacement&quot;,&quot;value&quot;:&quot;right&quot;}]}]},&quot;gridPos&quot;:{&quot;h&quot;:8,&quot;w&quot;:12,&quot;x&quot;:0,&quot;y&quot;:20},&quot;id&quot;:11,&quot;options&quot;:{&quot;legend&quot;:{&quot;calcs&quot;:[&quot;last&quot;,&quot;max&quot;],&quot;displayMode&quot;:&quot;table&quot;,&quot;placement&quot;:&quot;bottom&quot;,&quot;showLegend&quot;:true},&quot;tooltip&quot;:{&quot;mode&quot;:&quot;multi&quot;,&quot;sort&quot;:&quot;none&quot;}},&quot;pluginVersion&quot;:&quot;9.5.0&quot;,&quot;targets&quot;:[{&quot;datasource&quot;:{&quot;type&quot;:&quot;prometheus&quot;,&quot;uid&quot;:&quot;${datasource}&quot;},&quot;expr&quot;:&quot;ds_worker_active_execute_thread&quot;,&quot;legendFormat&quot;:&quot;Active Threads&quot;,&quot;refId&quot;:&quot;A&quot;},{&quot;datasource&quot;:{&quot;type&quot;:&quot;prometheus&quot;,&quot;uid&quot;:&quot;${datasource}&quot;},&quot;expr&quot;:&quot;ds_worker_memory_usage&quot;,&quot;legendFormat&quot;:&quot;Memory Usage&quot;,&quot;refId&quot;:&quot;B&quot;},{&quot;datasource&quot;:{&quot;type&quot;:&quot;prometheus&quot;,&quot;uid&quot;:&quot;${datasource}&quot;},&quot;expr&quot;:&quot;ds_worker_cpu_usage&quot;,&quot;legendFormat&quot;:&quot;CPU Usage&quot;,&quot;refId&quot;:&quot;C&quot;}],&quot;title&quot;:&quot;Worker Resource Monitoring&quot;,&quot;type&quot;:&quot;timeseries&quot;},{&quot;datasource&quot;:{&quot;type&quot;:&quot;prometheus&quot;,&quot;uid&quot;:&quot;${datasource}&quot;},&quot;fieldConfig&quot;:{&quot;defaults&quot;:{&quot;color&quot;:{&quot;mode&quot;:&quot;palette-classic&quot;},&quot;custom&quot;:{&quot;axisCenteredZero&quot;:false,&quot;axisColorMode&quot;:&quot;text&quot;,&quot;axisLabel&quot;:&quot;&quot;,&quot;axisPlacement&quot;:&quot;auto&quot;,&quot;barAlignment&quot;:0,&quot;drawStyle&quot;:&quot;line&quot;,&quot;fillOpacity&quot;:10,&quot;gradientMode&quot;:&quot;none&quot;,&quot;hideFrom&quot;:{&quot;tooltip&quot;:false,&quot;viz&quot;:false,&quot;legend&quot;:false},&quot;lineInterpolation&quot;:&quot;linear&quot;,&quot;lineWidth&quot;:1,&quot;pointSize&quot;:5,&quot;scaleDistribution&quot;:{&quot;type&quot;:&quot;linear&quot;},&quot;showPoints&quot;:&quot;never&quot;,&quot;spanNulls&quot;:false,&quot;stacking&quot;:{&quot;group&quot;:&quot;A&quot;,&quot;mode&quot;:&quot;none&quot;},&quot;thresholdsStyle&quot;:{&quot;mode&quot;:&quot;off&quot;}},&quot;mappings&quot;:[],&quot;thresholds&quot;:{&quot;mode&quot;:&quot;absolute&quot;,&quot;steps&quot;:[{&quot;color&quot;:&quot;green&quot;,&quot;value&quot;:null}]},&quot;unit&quot;:&quot;short&quot;},&quot;overrides&quot;:[{&quot;matcher&quot;:{&quot;id&quot;:&quot;byName&quot;,&quot;options&quot;:&quot;Failure&quot;},&quot;properties&quot;:[{&quot;id&quot;:&quot;color&quot;,&quot;value&quot;:{&quot;fixedColor&quot;:&quot;red&quot;,&quot;mode&quot;:&quot;fixed&quot;}}]}]},&quot;gridPos&quot;:{&quot;h&quot;:8,&quot;w&quot;:12,&quot;x&quot;:12,&quot;y&quot;:20},&quot;id&quot;:12,&quot;options&quot;:{&quot;legend&quot;:{&quot;calcs&quot;:[&quot;last&quot;,&quot;max&quot;],&quot;displayMode&quot;:&quot;table&quot;,&quot;placement&quot;:&quot;bottom&quot;,&quot;showLegend&quot;:true},&quot;tooltip&quot;:{&quot;mode&quot;:&quot;multi&quot;,&quot;sort&quot;:&quot;none&quot;}},&quot;pluginVersion&quot;:&quot;9.5.0&quot;,&quot;targets&quot;:[{&quot;datasource&quot;:{&quot;type&quot;:&quot;prometheus&quot;,&quot;uid&quot;:&quot;${datasource}&quot;},&quot;expr&quot;:&quot;increase(ds_alert_send_count_total{status=\&quot;success\&quot;}[5m])&quot;,&quot;legendFormat&quot;:&quot;Success&quot;,&quot;refId&quot;:&quot;A&quot;},{&quot;datasource&quot;:{&quot;type&quot;:&quot;prometheus&quot;,&quot;uid&quot;:&quot;${datasource}&quot;},&quot;expr&quot;:&quot;increase(ds_alert_send_count_total{status=\&quot;fail\&quot;}[5m])&quot;,&quot;legendFormat&quot;:&quot;Failure&quot;,&quot;refId&quot;:&quot;B&quot;}],&quot;title&quot;:&quot;Alert Delivery Trend (5-Minute Increment)&quot;,&quot;type&quot;:&quot;timeseries&quot;},{&quot;datasource&quot;:{&quot;type&quot;:&quot;prometheus&quot;,&quot;uid&quot;:&quot;${datasource}&quot;},&quot;fieldConfig&quot;:{&quot;defaults&quot;:{&quot;color&quot;:{&quot;mode&quot;:&quot;palette-classic&quot;},&quot;custom&quot;:{&quot;axisCenteredZero&quot;:false,&quot;axisColorMode&quot;:&quot;text&quot;,&quot;axisLabel&quot;:&quot;&quot;,&quot;axisPlacement&quot;:&quot;auto&quot;,&quot;barAlignment&quot;:0,&quot;drawStyle&quot;:&quot;line&quot;,&quot;fillOpacity&quot;:10,&quot;gradientMode&quot;:&quot;none&quot;,&quot;hideFrom&quot;:{&quot;tooltip&quot;:false,&quot;viz&quot;:false,&quot;legend&quot;:false},&quot;lineInterpolation&quot;:&quot;linear&quot;,&quot;lineWidth&quot;:1,&quot;pointSize&quot;:5,&quot;scaleDistribution&quot;:{&quot;type&quot;:&quot;linear&quot;},&quot;showPoints&quot;:&quot;never&quot;,&quot;spanNulls&quot;:false,&quot;stacking&quot;:{&quot;group&quot;:&quot;A&quot;,&quot;mode&quot;:&quot;none&quot;},&quot;thresholdsStyle&quot;:{&quot;mode&quot;:&quot;off&quot;}},&quot;mappings&quot;:[],&quot;thresholds&quot;:{&quot;mode&quot;:&quot;absolute&quot;,&quot;steps&quot;:[{&quot;color&quot;:&quot;green&quot;,&quot;value&quot;:null}]},&quot;unit&quot;:&quot;s&quot;},&quot;overrides&quot;:[]},&quot;gridPos&quot;:{&quot;h&quot;:8,&quot;w&quot;:12,&quot;x&quot;:0,&quot;y&quot;:28},&quot;id&quot;:13,&quot;options&quot;:{&quot;legend&quot;:{&quot;calcs&quot;:[&quot;mean&quot;,&quot;max&quot;],&quot;displayMode&quot;:&quot;table&quot;,&quot;placement&quot;:&quot;bottom&quot;,&quot;showLegend&quot;:true},&quot;tooltip&quot;:{&quot;mode&quot;:&quot;multi&quot;,&quot;sort&quot;:&quot;none&quot;}},&quot;pluginVersion&quot;:&quot;9.5.0&quot;,&quot;targets&quot;:[{&quot;datasource&quot;:{&quot;type&quot;:&quot;prometheus&quot;,&quot;uid&quot;:&quot;${datasource}&quot;},&quot;expr&quot;:&quot;rate(http_server_requests_seconds_sum{uri=~\&quot;/projects.*\&quot;}[5m]) / rate(http_server_requests_seconds_count{uri=~\&quot;/projects.*\&quot;}[5m])&quot;,&quot;legendFormat&quot;:&quot;{{uri}} - {{method}}&quot;,&quot;refId&quot;:&quot;A&quot;}],&quot;title&quot;:&quot;Average API Response Time&quot;,&quot;type&quot;:&quot;timeseries&quot;},{&quot;datasource&quot;:{&quot;type&quot;:&quot;prometheus&quot;,&quot;uid&quot;:&quot;${datasource}&quot;},&quot;fieldConfig&quot;:{&quot;defaults&quot;:{&quot;color&quot;:{&quot;mode&quot;:&quot;palette-classic&quot;},&quot;custom&quot;:{&quot;axisCenteredZero&quot;:false,&quot;axisColorMode&quot;:&quot;text&quot;,&quot;axisLabel&quot;:&quot;&quot;,&quot;axisPlacement&quot;:&quot;auto&quot;,&quot;barAlignment&quot;:0,&quot;drawStyle&quot;:&quot;line&quot;,&quot;fillOpacity&quot;:10,&quot;gradientMode&quot;:&quot;none&quot;,&quot;hideFrom&quot;:{&quot;tooltip&quot;:false,&quot;viz&quot;:false,&quot;legend&quot;:false},&quot;lineInterpolation&quot;:&quot;linear&quot;,&quot;lineWidth&quot;:1,&quot;pointSize&quot;:5,&quot;scaleDistribution&quot;:{&quot;type&quot;:&quot;linear&quot;},&quot;showPoints&quot;:&quot;never&quot;,&quot;spanNulls&quot;:false,&quot;stacking&quot;:{&quot;group&quot;:&quot;A&quot;,&quot;mode&quot;:&quot;none&quot;},&quot;thresholdsStyle&quot;:{&quot;mode&quot;:&quot;off&quot;}},&quot;mappings&quot;:[],&quot;thresholds&quot;:{&quot;mode&quot;:&quot;absolute&quot;,&quot;steps&quot;:[{&quot;color&quot;:&quot;green&quot;,&quot;value&quot;:null}]},&quot;unit&quot;:&quot;reqps&quot;},&quot;overrides&quot;:[]},&quot;gridPos&quot;:{&quot;h&quot;:8,&quot;w&quot;:12,&quot;x&quot;:12,&quot;y&quot;:28},&quot;id&quot;:14,&quot;options&quot;:{&quot;legend&quot;:{&quot;calcs&quot;:[&quot;mean&quot;,&quot;max&quot;],&quot;displayMode&quot;:&quot;table&quot;,&quot;placement&quot;:&quot;bottom&quot;,&quot;showLegend&quot;:true},&quot;tooltip&quot;:{&quot;mode&quot;:&quot;multi&quot;,&quot;sort&quot;:&quot;none&quot;}},&quot;pluginVersion&quot;:&quot;9.5.0&quot;,&quot;targets&quot;:[{&quot;datasource&quot;:{&quot;type&quot;:&quot;prometheus&quot;,&quot;uid&quot;:&quot;${datasource}&quot;},&quot;expr&quot;:&quot;rate(http_server_requests_seconds_count{uri=~\&quot;/projects.*\&quot;}[5m])&quot;,&quot;legendFormat&quot;:&quot;{{uri}} - {{method}}&quot;,&quot;refId&quot;:&quot;A&quot;}],&quot;title&quot;:&quot;API Request Rate&quot;,&quot;type&quot;:&quot;timeseries&quot;}],&quot;refresh&quot;:&quot;30s&quot;,&quot;schemaVersion&quot;:38,&quot;style&quot;:&quot;dark&quot;,&quot;tags&quot;:[&quot;dolphinscheduler&quot;,&quot;big-data&quot;],&quot;templating&quot;:{&quot;list&quot;:[{&quot;current&quot;:{&quot;selected&quot;:false,&quot;text&quot;:&quot;Prometheus&quot;,&quot;value&quot;:&quot;Prometheus&quot;},&quot;hide&quot;:0,&quot;includeAll&quot;:false,&quot;label&quot;:&quot;Data Source&quot;,&quot;multi&quot;:false,&quot;name&quot;:&quot;datasource&quot;,&quot;options&quot;:[],&quot;query&quot;:&quot;prometheus&quot;,&quot;refresh&quot;:1,&quot;regex&quot;:&quot;&quot;,&quot;skipUrlSync&quot;:false,&quot;type&quot;:&quot;datasource&quot;}]},&quot;time&quot;:{&quot;from&quot;:&quot;now-6h&quot;,&quot;to&quot;:&quot;now&quot;},&quot;timepicker&quot;:{&quot;refresh_intervals&quot;:[&quot;10s&quot;,&quot;30s&quot;,&quot;1m&quot;,&quot;5m&quot;,&quot;15m&quot;,&quot;30m&quot;,&quot;1h&quot;,&quot;2h&quot;,&quot;1d&quot;]},&quot;timezone&quot;:&quot;browser&quot;,&quot;title&quot;:&quot;DolphinScheduler Monitoring Dashboard&quot;,&quot;uid&quot;:&quot;dolphinscheduler-overview&quot;,&quot;version&quot;:1,&quot;weekStart&quot;:&quot;&quot;}</pre><h4>3.2 Dashboard Preview</h4><p>Once the import is complete, you’ll have a full monitoring dashboard containing the following panels:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/1*zHWD3HKqoMTzod00fWZQKw.png" /></figure><p>Here’s what the final dashboard looks like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*oDvfPIOv-dZjQjDW.jpg" /></figure><h3>4. Conclusion</h3><p>Let’s recap what we built in this article.</p><ol><li>Metric collection: Prometheus scrapes DolphinScheduler’s built-in /actuator/prometheus endpoint.</li><li>Alerting: 10 alert rules cover service availability, task health, Worker status, and Master failover.</li><li>Visualization: Grafana dashboard ID 24841 lets you import the monitoring dashboard with just a few clicks.</li></ol><p>If you’re running DolphinScheduler, it’s worth setting up monitoring like this.</p><p>After all, being woken up by an alert at 3 a.m. is still better than being woken up by your manager the next morning.</p><p>If this guide helps you avoid even one “DolphinScheduler went down and nobody noticed” incident, consider giving it a like or saving it for later.</p><p>And if you have questions or improvements, drop them in the comments. Let’s make data engineering a little less painful — one production pitfall at a time.</p><p><strong>Join the Community</strong></p><p>This open-source project is actively operated and maintained with deep involvement from WhaleOps.</p><p>Learn more about WhaleOps: <a href="https://www.whaleops.io/">https://www.whaleops.io/</a></p><p>There are many ways to participate and contribute to the DolphinScheduler community, including:</p><p><strong>Documents</strong>,<strong> translation</strong>,<strong> Q&amp;A</strong>,<strong> tests</strong>,<strong> codes</strong>,<strong> articles</strong>,<strong> keynote speeches</strong>,<strong> etc.</strong></p><p>We assume the first PR (document, code) to contribute to be simple and should be used to familiarize yourself with the submission process and community collaboration style.</p><p>So the community has compiled the following <strong>list of issues suitable for novices:</strong> <a href="https://github.com/apache/dolphinscheduler/contribute">https://github.com/apache/dolphinscheduler/contribute</a></p><ul><li><strong>List of non-newbie issues:</strong></li></ul><p><a href="https://github.com/apache/dolphinscheduler/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+">https://github.com/apache/dolphinscheduler/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+</a></p><ul><li><strong>How to contribute:</strong></li></ul><p><a href="http://https//github.com/apache/dolphinscheduler/blob/8944fdc62295883b0fa46b137ba8aee4fde9711a/docs/docs/en/contribute/join/contribute.md">Https://github.com/apache/dolphinscheduler/blob/8944fdc62295883b0fa46b137ba8aee4fde9711a/docs/docs/en/contribute/join/contribute.md</a></p><ul><li><strong>GitHub Code Repository:</strong> <a href="https://github.com/apache/dolphinscheduler">https://github.com/apache/dolphinscheduler</a></li><li><strong>Official Website:</strong>https://dolphinscheduler.apache.org/en-us</li><li><strong>Mail List:</strong>dev@dolphinscheduler@apache.org</li><li><strong>X.com:</strong>@DolphinSchedule</li><li><strong>YouTube:</strong>https://www.youtube.com/@apachedolphinscheduler</li><li><strong>Slack:</strong>https://join.slack.com/t/asf-dolphinscheduler/shared_invite/zt-1cmrxsio1-nJHxRJa44jfkrNL_Nsy9Qg</li><li><strong>Contributor Guide:</strong><a href="https://dolphinscheduler.apache.org/en-us/community/index.html">https://dolphinscheduler.apache.org/en-us/community</a></li></ul><p>Your Star for the project is essential; don’t hesitate to light a Star for <a href="https://github.com/apache/dolphinscheduler">Apache DolphinScheduler</a> ❤️</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f59dbf71bc96" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Maximum DAG Concurrency of 100 Means 100 Workflows or 100 Tasks Running Simultaneously?]]></title>
            <link>https://medium.com/@ApacheDolphinScheduler/maximum-dag-concurrency-of-100-means-100-workflows-or-100-tasks-running-simultaneously-de9565c983fe?source=rss-8210139f433b------2</link>
            <guid isPermaLink="false">https://medium.com/p/de9565c983fe</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[apache-dolphinscheduler]]></category>
            <dc:creator><![CDATA[Apache DolphinScheduler]]></dc:creator>
            <pubDate>Thu, 03 Sep 2026 17:31:00 GMT</pubDate>
            <atom:updated>2026-09-03T17:31:00.866Z</atom:updated>
            <content:encoded><![CDATA[<p>Concurrency control in Apache DolphinScheduler spans three distinct tiers: the Master node, individual Process Instances, and Worker nodes. The vast majority of “concurrency bottleneck” issues stem from a simple misunderstanding: mixing up what each parameter actually controls.</p><h3>1. The Core Dilemma: What Does Concurrency Really Limit?</h3><p>Almost all scheduling confusion comes down to one classic question: <em>If maximum DAG concurrency is set to 100, does that mean 100 workflows running at once, or 100 parallel tasks inside a single workflow?</em></p><p>The official FAQ breaks this down clearly: each parameter level operates in its own isolated domain, with no overlap.</p><p>TierParameterScopeMaster Nodemaster.exec-threadsCaps the total number of process instancesexecuted simultaneously on a single Master nodeProcess InstanceLegacy master.exec.task.numberCaps the maximum number of parallel taskswithin a single workflowWorker Nodeworker.physical-task-config.task-executor-thread-sizeCaps the total number of task instancesexecuted simultaneously on a single Worker node</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*JDWRaL1KGtbCi0MH.jpg" /></figure><p><em>Concurrency Control Architecture</em></p><p>Once you map out this hierarchy, troubleshooting the most common failure modes becomes straightforward.</p><h3>2. Right Configurations, Stuck Tasks: What’s Going On?</h3><p>Even with high limits across all three tiers, tasks can still get stuck in the “Submitted Successfully” state.</p><p>Troubleshooting this requires a different approach than just tweaking concurrency parameters. According to the official FAQ, start by checking whether the WorkerServer is healthy, confirm if the Master is dispatching tasks to the Worker, and make sure the assigned Worker Group actually contains active nodes.</p><p>This is usually not a configuration error — it’s a broken execution pipeline. If any node along the path drops offline, no amount of parameter tuning will help.</p><p>If the pipeline is healthy and the Worker Group is online, but tasks are still being rejected, you are likely hitting an implicit safeguard introduced in newer releases: Server Load Protection.</p><h3>3. The Silent Bottleneck: Server Load Protection</h3><p>Starting in version 3.x, DolphinScheduler introduced server-load-protection. When CPU, memory, or disk usage exceeds specified thresholds, Masters or Workers proactively reject incoming tasks. To the user, the service appears normal, but tasks refuse to move forward.</p><p>Because this safety net operates independently of thread pool configurations, the two layer together. It is easy to mistake load shedding for misconfigured thread caps. Recognizing how they interact is key to targeted troubleshooting.</p><h3>4. Production Tuning: Master vs. Worker Configuration</h3><h4>Master Side (master-server/conf/application.yaml)</h4><p>Key concurrency controls live here:</p><ul><li>master.exec-threads (Default: 100): The main valve controlling total concurrent workflows.</li><li>master.pre-exec-threads (Default: 10): Limits the number of commands prepared for execution in parallel.</li><li>master.dispatch-task-number (Default: 3): Sets how many tasks are dispatched to Workers per batch. Setting this too low creates dispatch throttling.</li><li>master.server-load-protection.*: CPU, memory, and disk usage thresholds default to 0.7—often an unexpected bottleneck.</li><li>master.server-load-protection.max-concurrent-workflow-instances: Hard cap on total concurrent workflow instances managed by the Master.</li></ul><h4>Worker Side (worker-server/conf/application.yaml)</h4><p>On the Worker side, throughput depends on:</p><ul><li>worker.physical-task-config.task-executor-thread-size (Default: 100): Sets the max concurrent tasks a single Worker can execute.</li><li>worker.server-load-protection.*: Defaults to an 0.8 resource utilization threshold, acting as an implicit concurrency cap.</li></ul><p>In test environments, these numbers are often dialed down for stress testing (e.g., setting exec-threads to 10). This highlights a key rule: never copy-paste configurations blindly—tailor parameters specifically for Dev, Test, and Production environments.</p><h4>Kubernetes Deployments</h4><p>If you deploy via Helm Charts, avoid modifying YAML configuration files directly inside containers. Map parameters to environment variables in values.yaml instead—such as MASTER_EXEC_THREADS, MASTER_EXEC_TASK_NUM, MASTER_DISPATCH_TASK_NUM, and MASTER_SERVER_LOAD_PROTECTION_ENABLED. Check the Helm README for full parameter mappings.</p><h3>5. Step-by-Step Troubleshooting Checklist</h3><p>Putting it all together, follow this sequence when diagnosing scheduling bottlenecks:</p><ol><li>Pinpoint the Bottleneck Tier: Determine if queuing happens at the workflow level (adjust master.exec-threads), the task level within a workflow (adjust pre-exec-threads / task concurrency), or the Worker level (adjust task-executor-thread-size).</li><li>Check for Load Protection Interventions: Inspect Master and Worker logs for rejection entries triggered by overload protection. If system resources are healthy, increase the max-*-usage-percentage-thresholdsvalues accordingly.</li><li>Verify Worker Group Status: If settings look fine but tasks keep queuing up, check for offline machines in the designated Worker Group.</li><li>Tune Incrementally: Start by scaling up dispatch-task-number to monitor throughput changes before touching exec-threads. Avoid sudden spikes in thread counts to protect your database and network from overload.</li><li>Stick to values.yaml in K8s: Never edit runtime files inside Pods directly; any custom configuration will be wiped out when Pods restart.</li></ol><h3>Notes</h3><ul><li>Legacy releases (1.2.x) relied on master.exec.threads, master.exec.task.number, and worker.exec.threads in master.properties/worker.properties. Version 3.x moved these into application.yaml as master.exec-threads and worker.physical-task-config.task-executor-thread-size. Watch out for these naming changes when upgrading instead of reusing old configs.</li><li>server-load-protection functions as an independent tier on top of thread limits. Because both impact scheduling throughput simultaneously, it is often missed during debugging.</li><li>Due to index boundaries, the complete configuration.md text is omitted here. Pull the complete documentation using a Devin session to verify exact default values before making production changes.</li></ul><p><strong>Join the Community</strong></p><p>This open-source project is actively operated and maintained with deep involvement from WhaleOps.</p><p>Learn more about WhaleOps: <a href="https://www.whaleops.io/">https://www.whaleops.io/</a></p><p>There are many ways to participate and contribute to the DolphinScheduler community, including:</p><p><strong>Documents</strong>,<strong> translation</strong>,<strong> Q&amp;A</strong>,<strong> tests</strong>,<strong> codes</strong>,<strong> articles</strong>,<strong> keynote speeches</strong>,<strong> etc.</strong></p><p>We assume the first PR (document, code) to contribute to be simple and should be used to familiarize yourself with the submission process and community collaboration style.</p><p>So the community has compiled the following <strong>list of issues suitable for novices:</strong> <a href="https://github.com/apache/dolphinscheduler/contribute">https://github.com/apache/dolphinscheduler/contribute</a></p><ul><li><strong>List of non-newbie issues:</strong></li></ul><p><a href="https://github.com/apache/dolphinscheduler/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+">https://github.com/apache/dolphinscheduler/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+</a></p><ul><li><strong>How to contribute:</strong></li></ul><p><a href="http://https//github.com/apache/dolphinscheduler/blob/8944fdc62295883b0fa46b137ba8aee4fde9711a/docs/docs/en/contribute/join/contribute.md">Https://github.com/apache/dolphinscheduler/blob/8944fdc62295883b0fa46b137ba8aee4fde9711a/docs/docs/en/contribute/join/contribute.md</a></p><ul><li><strong>GitHub Code Repository:</strong> <a href="https://github.com/apache/dolphinscheduler">https://github.com/apache/dolphinscheduler</a></li><li><strong>Official Website:</strong>https://dolphinscheduler.apache.org/en-us</li><li><strong>Mail List:</strong>dev@dolphinscheduler@apache.org</li><li><strong>X.com:</strong>@DolphinSchedule</li><li><strong>YouTube:</strong>https://www.youtube.com/@apachedolphinscheduler</li><li><strong>Slack:</strong>https://join.slack.com/t/asf-dolphinscheduler/shared_invite/zt-1cmrxsio1-nJHxRJa44jfkrNL_Nsy9Qg</li><li><strong>Contributor Guide:</strong><a href="https://dolphinscheduler.apache.org/en-us/community/index.html">https://dolphinscheduler.apache.org/en-us/community</a></li></ul><p>Your Star for the project is essential; don’t hesitate to light a Star for <a href="https://github.com/apache/dolphinscheduler">Apache DolphinScheduler</a> ❤️</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=de9565c983fe" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>