You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Node](https://nodejs.org/en/download): v16.13+ (dolphinScheduler version is lower than 3.0, please install node v12.20+)
11
11
-[Pnpm](https://pnpm.io/installation): v6.x
@@ -180,10 +180,10 @@ Following steps will guide how to start the DolphinScheduler backend service
180
180
181
181
- File change
182
182
183
-
- If you use MySQL as your metadata database, you need to modify `dolphinscheduler/pom.xml` and change the `scope` of the `mysql-connector-java` dependency to `compile`. This step is not necessary to use PostgreSQL
183
+
- If you use MySQL as your metadata database, you need to modify `dolphinscheduler-bom/pom.xml` and change the `scope` of the `mysql-connector-j` dependency to `compile`. This step is not necessary to use PostgreSQL
184
184
- Modify database configuration, modify the database configuration in the `dolphinscheduler-master/src/main/resources/application.yaml`
185
-
- Modify database configuration, modify the database configuration in the `dolphinscheduler-worker/src/main/resources/application.yaml`
186
185
- Modify database configuration, modify the database configuration in the `dolphinscheduler-api/src/main/resources/application.yaml`
186
+
- Modify database configuration, modify the database configuration in the `dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/resources/application.yaml`
187
187
188
188
We here use MySQL with database, username, password named dolphinscheduler as an example
189
189
@@ -196,30 +196,14 @@ spring:
196
196
password: dolphinscheduler
197
197
```
198
198
199
-
- Log level: add a line `<appender-ref ref="STDOUT"/>` to the following configuration to enable the log to be displayed on the command line
> **_Note:_** Only DolphinScheduler 2.0 and later versions need to install plugin before start server. It doesn't need it before version 2.0.
215
-
216
199
##### Server start
217
200
218
201
There are three services that need to be started, including MasterServer, WorkerServer, ApiApplicationServer.
219
202
220
-
- MasterServer:Execute function `main` in the class `org.apache.dolphinscheduler.server.master.MasterServer` by IntelliJ IDEA, with the configuration _VM Options_`-Dlogging.config=classpath:logback-spring.xml -Ddruid.mysql.usePingMethod=false -Dspring.profiles.active=mysql`
221
-
- WorkerServer:Execute function `main` in the class `org.apache.dolphinscheduler.server.worker.WorkerServer` by IntelliJ IDEA, with the configuration _VM Options_`-Dlogging.config=classpath:logback-spring.xml -Ddruid.mysql.usePingMethod=false -Dspring.profiles.active=mysql`
222
-
- ApiApplicationServer:Execute function `main` in the class `org.apache.dolphinscheduler.api.ApiApplicationServer` by IntelliJ IDEA, with the configuration _VM Options_`-Dlogging.config=classpath:logback-spring.xml -Dspring.profiles.active=api,mysql`. After it started, you could find Open API documentation in http://localhost:12345/dolphinscheduler/swagger-ui/index.html
203
+
- MasterServer:Execute function `main` in the class `org.apache.dolphinscheduler.server.master.MasterServer` by IntelliJ IDEA, with the configuration _VM Options_`-DDOCKER=true -Dspring.profiles.active=mysql`
204
+
- WorkerServer:Execute function `main` in the class `org.apache.dolphinscheduler.server.worker.WorkerServer` by IntelliJ IDEA, with the configuration _VM Options_`-DDOCKER=true`
205
+
- AlertServer:Execute function `main` in the class `org.apache.dolphinscheduler.alert.AlertServer` by IntelliJ IDEA, with the configuration _VM Options_`-DDOCKER=true -Dspring.profiles.active=mysql`
206
+
- ApiApplicationServer:Execute function `main` in the class `org.apache.dolphinscheduler.api.ApiApplicationServer` by IntelliJ IDEA, with the configuration _VM Options_`-DDOCKER=true -Dspring.profiles.active=mysql`. After it started, you could find Open API documentation in http://localhost:12345/dolphinscheduler/swagger-ui/index.html
223
207
224
208
> The `mysql` in the VM Options `-Dspring.profiles.active=mysql` means specified configuration file
0 commit comments