commit | 8c4df4c2e6d8144274fe2611f5e25d6e27a54f7b | [log] [tgz] |
---|---|---|
author | zhangchengming601 <86779821+zhangchengming601@users.noreply.github.com> | Tue Jul 18 11:02:47 2023 +0800 |
committer | GitHub <noreply@github.com> | Tue Jul 18 11:02:47 2023 +0800 |
tree | efb4a513d68073e73db77da2288aa3e961c421c6 | |
parent | 718e575da6bce51d932cd6a0649f167d0da158cf [diff] |
[FIX][ADD] license (#80) * [ADD][SYNC TASK DEFINITION] * [ADD][SYNC TASK DEFINITION] POM File * [ADD][FUNCTION]Add synchronization task instance function * [ADD][FUNCTION]Add synchronization task instance function * [ADD][Switcher]Add SqlServerDataSourceConfigSwitcher And MysqlDatasourceConfigSwitcher * [ADD][Switcher]Add SqlServerDataSourceConfigSwitcher And MysqlDatasourceConfigSwitcher * [MODIFY][FILE]Modify Dependent files * [FIX][ADD] license
SeaTunnel was formerly named Waterdrop , and renamed SeaTunnel since October 12, 2021.
So, What we are?
An open-source web console to manage your seatunnel-script, and would push them to any scheduling-system easily. Click it if your want to know more about our design. 👉🏻Design
If you already have Apache DolphinScheduler environment, you can skip this step and go to [Create Tenant and User for SeaTunnel Web](#1.2 Create Tenant and User for SeaTunnel Web)
Because running SeaTunnel Web must rely on the DolphinScheduler, if you do not have a DS environment, you need to first install and deploy a DolphinScheduler (hereinafter referred to as DS). Taking DS version 3.1.5 as an example.
Reference https://dolphinscheduler.apache.org/zh-cn/docs/3.1.5/guide/installation/standalone
to install a standalone DS.
If you already have a DS environment and decide to use existing users and tenants for SeaTunnel Web, you can skip this step and go to [Create Project for SeaTunnel Web](#1.3 Create Project for SeaTunnel Web).
Because SeaTunnel Web needs to call the interface of DS to create workflows and tasks, it is necessary to submit the projects, users, and tenants created in DS for SeaTunnel to use.
“Security” -> “Tenant Manage” -> “Create Tenant”
If you want to deploy and run SeaTunnel Web, Please turn to [3 Run SeaTunnel Web In Server](#3 Run SeaTunnel Web In Server)
Edit whaletunnel-server/whaletunnel-app/src/main/resources/script/seatunnel_server_env.sh
file, Complete the installed database address, port, username, and password. Here is an example:
export HOSTNAME="localhost" export PORT="3306" export USERNAME="root" export PASSWORD="123456"
Run init shell sh seatunnel-server/seatunnel-app/src/main/resources/script/init_sql.sh
If there are no errors during operation, it indicates successful initialization.
seatunnel-server/seatunnel-app/src/main/resources/application.yml
Fill in the database connection information and DS interface related information in the file.seatunnel-server/seatunnel-app/src/main/java/org/apache/seatunnel/app/SeatunnelApplication.java
If there are no errors reported, the seatunnel web backend service is successfully started.cd seatunnel-ui npm install npm run dev
If there are no issues with the operation, the following information will be displayed:
➜ Local: http://127.0.0.1:5173/ ➜ Network: use --host to expose ➜ press h to show help
Accessing in a browser http://127.0.0.1:5173/login Okay, the default username and password are admin/admin.
cd incubator-seatunnel-web sh build.sh code
Then you can find the installer package in dir incubator-seatunnel-web/seatunnel-web-dist/target/apache-seatunnel-web-${project.version}.tar.gz
.
Copy the apache-seatunnel-web-${project.version}.tar.gz
to your server node and unzip it.
tar -zxvf apache-seatunnel-web-${project.version}.tar.gz
Edit apache-seatunnel-web-${project.version}/script/seatunnel_server_env.sh
file, Complete the installed database address, port, username, and password. Here is an example:
export HOSTNAME="localhost" export PORT="3306" export USERNAME="root" export PASSWORD="123456"
Run init shell sh apache-seatunnel-web-${project.version}/script/init_sql.sh
If there are no errors during operation, it indicates successful initialization.
Edit apache-seatunnel-web-${project.version}/config/application.yml
Fill in the database connection information and DS interface related information in the file.
cd apache-seatunnel-web-${project.version} sh bin/seatunnel-backend-daemon.sh start
Accessing in a browser http://127.0.0.1:8801/ui/ Okay, the default username and password are admin/admin.
After all the pre-work is done, we can open the following URL: 127.0.0.1:7890(please replace it according to your configuration) to use it.
Now ,let me show you how to use it.