Hi! You can create a zookeeper cluster via the Docker provisioner, like:
./docker-hadoop.sh -C config_debian-10.yaml -F docker-compose-cgroupv2.yml --create 3 --image bigtop/puppet:3.0.0-debian-10 --memory 8g --stack zookeeper The docker-hadoop.sh script is in the provisioner/docker directory in the github bigtop repo (you can also use another distro other than Debian of course). You can execute a bash shell in any of the containers created by the provisioner via: ./docker-hadoop.sh -e 1 bash (replace "1" with "2" or "3" if you want a different container) The myid file is created under /var/lib/zookeeper/myid (more info in the hadoop_zookeeper puppet class in the Bigtop repo). Hope that helps! Luca On Sat, Feb 12, 2022 at 3:28 PM 李帅 <[email protected]> wrote: > > Hi, I want to ask a question that what should I do if I want to deploy a > zookeeper cluster by Puppet, especially how to identify the myid for each > node. > thanks.
