You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.
Need to add the server id found in the 'myid' file found in the defined 'dataDir'. The server id is a single digit that matches the server.=<server_address>: syntax in /etc/zoo.cfg
Example of how to create the myid file if the localhost was server.1=:
[root@h-10 calyptos]# cat /etc/zookeeper/zoo.cfg
# The number of milliseconds of each tick
tickTime=2000
# The number of ticks that the initial
# synchronization phase can take
initLimit=10
# The number of ticks that can pass between
# sending a request and getting an acknowledgement
syncLimit=5
# the directory where the snapshot is stored.
# do not use /tmp for storage, /tmp here is just
# example sakes.
dataDir=/var/lib/zookeeper/data
# the port at which the clients will connect
clientPort=2181
#
# Be sure to read the maintenance section of the
# administrator guide before turning on autopurge.
#
# http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance
#
# The number of snapshots to retain in dataDir
#autopurge.snapRetainCount=3
# Purge task interval in hours
# Set to "0" to disable auto purge feature
#autopurge.purgeInterval=1
server.1=169.254.1.1:2888:3888
server.2=169.254.1.2:2888:3888
server.3=169.254.1.3:2888:3888
The text was updated successfully, but these errors were encountered:
Need to add the server id found in the 'myid' file found in the defined 'dataDir'. The server id is a single digit that matches the server.=<server_address>: syntax in /etc/zoo.cfg
Example of how to create the myid file if the localhost was server.1=:
dataDir=/var/lib/zookeeper/data
The text was updated successfully, but these errors were encountered: