Same-server Deployment of Data Pipeline Service
-
Download the mirror of the new version
- Internet Access Available
- Internet Access Unavailable
docker pull registry.cn-hangzhou.aliyuncs.com/mdpublic/mingdaoyun-flink:version number
https://pdpublic.mingdao.com/private-deployment/offline/mingdaoyun-flink-linux-amd64-version number.tar.gz
#Execute the following after downloading to the server:
docker load -i mingdaoyun-flink-linux-amd64-version number.tar.gz -
Enter the
mingdaoyun-flink
container.docker exec -it $(docker ps | grep flink | awk '{print $1}') bash
-
Backup and delete the
zookeeper
directory in theFlink
data directory and empty theJob
list inFlink
in the old version.mv /data/flink/zookeeper /data/flink/zookeeper.backup-$(date +%Y%m%d%H%M%S)
-
Modify the version number of the mirror corresponding to the
mingdaoyun-flink
service in thedocker-compose.yaml
file.flink:
image: registry.cn-hangzhou.aliyuncs.com/mdpublic/mingdaoyun-flink:version number -
Execute
bash . /service.sh restartall
in the root directory of the manager to restart the service and wait for it to complete execution. -
Go to [Integrate] > [Data Pipeline] > [Sync Task] to to re-open or publish the task.