Skip to main content

Standalone-server Deployment of Data Pipeline Service

  1. Download the mirror of the new version

    docker pull nocoly/hap-flink:version number
  2. Enter the hap-flink container.

    docker exec -it $(docker ps | grep flink | awk '{print $1}') bash
  3. Backup and delete the zookeeper directory in the Flink data directory and empty the Job list in Flink in the old version.

    mv /data/flink/zookeeper /data/flink/zookeeper.backup-$(date +%Y%m%d%H%M%S)
  4. Modify the version number of the mirror corresponding to the hap-flink service in the flink.yaml file.

    flink:
    image: nocoly/hap-flink:version number
  5. Restart Flink service.

    Stop first

    docker stack rm flink

    Start again when the flink container is not seen in dcoker ps

    docker stack deploy -c flink.yaml flink
  6. Go to [Integrate] > [Data Pipeline] > [Sync Task] to to re-open or publish the task.