美文网首页
Zookeeper实战

Zookeeper实战

作者: shaozq | 来源:发表于2021-06-24 23:42 被阅读0次

1:# 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=/home/shao/hadoop/zookeeper-3.4.10/zkData

the port at which the clients will connect

clientPort=2181

the maximum number of client connections.

increase this if you need to handle more clients

maxClientCnxns=60

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

========================================cluster==========================

server.2=node1:2888:3888
server.3=node2:2888:3888
server.4=node3:2888:3888

相关文章

  • zookeeper系列

    zookeeper系列(一)zookeeper必知 √zookeeper系列(二)实战master选举 √zo...

  • 从零开始学Hadoop大数据分析之ZooKeeper实战

    导言 上一节我学习了关于ZooKeeper基础知识,接下开始ZooKeeper的实战,只有从实战中学习才能进步更快...

  • 【实战】ZooKeeper 实战

    1. 前言 这篇文章简单给演示一下 ZooKeeper 常见命令的使用以及 ZooKeeper Java客户端 C...

  • ZooKeeper实战

    在学习技术的过程中,我发现程序的版本一直在变,每个人的情况也不一样,在参考网上的教程的时候,都或多或少有这样或者那...

  • Zookeeper实战

    Springboot整合curator访问zookeeper POM 配置文件application.yml 测试...

  • Zookeeper实战

    1:# The number of milliseconds of each ticktickTime=2000 ...

  • netty实战

    Netty Zookeeper 亿级流量 高并发 - 实战(修正版) - crazymakercircle...

  • 「从入门到放弃-ZooKeeper」ZooKeeper实战-分布

    前言 上文【从入门到放弃-ZooKeeper】ZooKeeper实战-分布式队列中,我们一起写了下如何通过ZooK...

  • Connection reset by peer 秒懂

    疯狂创客圈 经典图书 : 《Netty Zookeeper Redis 高并发实战》[https://www....

  • Zookeeper 扩容实战

    场景描述: zookeeper 版本 3.4.6 现有zk集群是五台, myid分别为 0, 1, 2, 3, 4...

网友评论

      本文标题:Zookeeper实战

      本文链接:https://www.haomeiwen.com/subject/brhnyltx.html