Standalone-server Deployment of Data Pipeline Service
-
Download the mirror of the new version
- Internet Access Available
- Internet Access Unavailable
docker pull nocoly/hap-flink:<version>https://pdpublic.nocoly.com/offline/hap-flink-linux-amd64-version.tar.gz
#Execute the following after downloading to the server:
docker load -i hap-flink-linux-amd64-version.tar.gz -
Enter the
hap-flinkcontainer.docker exec -it $(docker ps | grep flink | awk '{print $1}') bash -
Backup and delete the
zookeeperdirectory in theFlinkdata directory and empty theJoblist inFlinkin the old version.mv /data/flink/zookeeper /data/flink/zookeeper.backup-$(date +%Y%m%d%H%M%S) -
Modify the version of the mirror corresponding to the
hap-flinkservice in theflink.yamlfile.flink:
image: nocoly/hap-flink:<version> -
Restart
Flinkservice.Stop first
docker stack rm flinkStart again when the flink container is not seen in
dcoker psdocker stack deploy -c flink.yaml flink -
Go to [Integrate] > [Data Pipeline] > [Sync Task] to to re-open or publish the task.