TT Bigdata TT Bigdata
首页
GitHub (opens new window)
JaneTTR

JaneTTR

数据酿造智慧,每一滴都是沉淀!
  • 开发环境

  • Ambari 编译

  • Bigtop 编译

  • Ambari 源码编译

  • 前端开发

  • 后端开发

  • 官方组件编译

  • 扩展组件编译

    • Sqoop编译

    • Ranger编译

    • Phoenix编译

    • Dolphinscheduler编译

      • version-3.2.2

        • Dolphinscheduler_3.2.2 编译
        • [O] Dolphinscheduler 版本适配改造(一)
        • [O] Dolphinscheduler 版本适配改造(二)
          • 背景说明
          • 完整的 diff 文件
        • [B] Dolphinscheduler 版本适配改造(一)
        • [B] Dolphinscheduler 版本适配改造(二)
        • [B] Dolphinscheduler 版本适配改造(三)
    • Doris编译

    • Cloudbeaver编译

    • Atlas编译

    • Superset编译

    • Celeborn编译

    • Ozone编译

    • Impala编译

    • Trino编译

    • Paimon编译

    • Hudi编译

  • 源码编译
  • 扩展组件编译
  • Dolphinscheduler编译
  • version-3.2.2
JaneTTR
2025-05-06
目录
背景说明
完整的 diff 文件

[O] Dolphinscheduler 版本适配改造(二)

# 背景说明

在 Dolphinscheduler 生态的全链路适配中,tools 子模块常被忽略,但实际生产场景下也需要 MySQL 相关依赖 ,否则相关脚本和自动化工具链会因缺包导致运行异常。MySQL适配补全

提示

务必确保 tools/pom.xml 同样补全 mysql-connector-java 与 testcontainers 的 scope,否则涉及数据库操作的工具类无法正常使用。

# 完整的 diff 文件

提示

以下 patch 补全 tools 模块所有必需依赖,scope 明确设为 compile,确保生产和测试环境均能正常使用。


Subject: [PATCH] optimized: 增加mysql 驱动
---
Index: dolphinscheduler-tools/pom.xml
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/dolphinscheduler-tools/pom.xml b/dolphinscheduler-tools/pom.xml
--- a/dolphinscheduler-tools/pom.xml	(revision 2ec95b5c2c50d2882d40e07fb13cf38b5f0469b4)
+++ b/dolphinscheduler-tools/pom.xml	(date 1728877566153)
@@ -129,16 +129,19 @@
         <dependency>
             <groupId>org.testcontainers</groupId>
             <artifactId>mysql</artifactId>
+            <scope>compile</scope>
         </dependency>

         <dependency>
             <groupId>mysql</groupId>
             <artifactId>mysql-connector-java</artifactId>
+            <scope>compile</scope>
         </dependency>

         <dependency>
             <groupId>org.testcontainers</groupId>
             <artifactId>postgresql</artifactId>
+            <scope>compile</scope>
         </dependency>

     </dependencies>

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#DolphinScheduler#Bigtop#源码编译#MySQL
[O] Dolphinscheduler 版本适配改造(一)
[B] Dolphinscheduler 版本适配改造(一)

← [O] Dolphinscheduler 版本适配改造(一) [B] Dolphinscheduler 版本适配改造(一)→

最近更新
01
当前版本 2026/08
08-29
02
把 Ambari Server HA 稳稳地跑起来
08-17
03
从一次启用操作追到主备就绪
08-17
更多文章>
Theme by Vdoing | Copyright © 2017-2026 JaneTTR | MIT License
  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式