4/25/2023 0 Comments Autopurge zookeeper .out fileUsage: /home/ludalong/zookeeper/apache-zookeeper-3.5.10-bin/bin/zkServer. Using config: /home/ludalong/zookeeper/apache-zookeeper-3.5.10-bin/bin/./conf/zoo.cfg zookeeper/conf/zoosample.cfg Go to file Cannot retrieve contributors at this time 37 lines (35 sloc) 1. 创建/var/dalong/zk 目录(对应zoo.cfg文件中的dataDir路径) 再创建文件myid,写入内容 1,1是当前zookeeper的idĮxport JAVA_HOME=/home/ludalong/zookeeper/jdk-11.0.15.1Įxport ZOOKEEPER_HOME=/home/ludalong/zookeeper/apache-zookeeper-3.5.10-binĮxport PATH=$PATH:$JAVA_HOME/bin:$ZOOKEEPER_HOME/bin:$KAFKA_HOME/bin # Set to "0" to disable auto purge feature # The number of snapshots to retain in dataDir # administrator guide before turning on autopurge. In some cases, we can improve it by scaling out orApache Kafka is a distributed. # Be sure to read the maintenance section of the The remaining three machines I use for Zookeeper and for generating load. # increase this if you need to handle more clients # the maximum number of client connections. The default limit is 1,000.ZooKeeper logs transactions to a transaction log. # the port at which the clients will connect To prevent ZooKeeper from running out of memory due to queued requests, ZooKeeper will throttle clients so that there is no more than globalOutstandingLimit outstanding requests in the system. These commands can be invoked using ' nc ', ' telnet ' or another utility that has the ability to send commands to a specific port. # do not use /tmp for storage, /tmp here is just Apache ZooKeeper has a number of 'four-letter commands' that can be helpful in determining the current status of ZooKeeper voter and observer nodes. 编辑 zoo.cfg (在config目录下) # the directory where the snapshot is stored. 本地虚拟机安装的zookeeper目录 /home/ludalong/zookeeper 下载zookeeper,apache-zookeeper-3.5. ,放到 /home/ludalong/zookeeper 解压,
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |