在会话超时时,策展人一直尝试连接到0.0.0.0 这是无限循环的。
ESC[31mWARN ESC[0;39m [2018-07-11 21:41:10,163] [main-SendThread(10.11.112.23:2181)] [ESC[36mClientCnxnESC[0;39m]: Unable to reconnect to ZooKeeper service, session 0x108502c23574cf5 has expired
ESC[34mINFO ESC[0;39m [2018-07-11 21:41:10,163] [main-SendThread(10.11.112.23:2181)] [ESC[36mClientCnxnESC[0;39m]: Unable to reconnect to ZooKeeper service, session 0x108502c23574cf5 has expired, closing socket connection
ESC[31mWARN ESC[0;39m [2018-07-11 21:41:10,163] [main-EventThread] [ESC[36mConnectionStateESC[0;39m]: Session expired event received
ESC[34mINFO ESC[0;39m [2018-07-11 21:41:10,219] [main-EventThread] [ESC[36mZooKeeperESC[0;39m]: Initiating client connection, connectString=0.0.0.0:2181,0.0.0.0:2181,0.0.0.0:2181 sessionTimeout=60000 watcher=org.apache.curator.ConnectionState@37e55819
ESC[34mINFO ESC[0;39m [2018-07-11 21:41:10,219] [main-EventThread] [ESC[36mClientCnxnSocketESC[0;39m]: jute.maxbuffer value is 4
这是我的静态配置:
autopurge.purgeInterval=1
initLimit=10
syncLimit=5
autopurge.snapRetainCount=3
maxClientCnxns=60
zookeeper_jmx_port=9010
clientPort=2182
tickTime=2000
dataDir=/grid/1/hadoop/zookeeper-3.5.3-beta
dynamicConfigFile=/usr/share/zookeeper-3.5.3-beta/conf/zoo.cfg.dynamic.100000000
4lw.commands.whitelist=*
动态配置:
server.1=kafka-dev-1:2888:3888:participant;2181
server.2=kafka-dev-2:2888:3888:participant;2181
server.3=kafka-dev-3:2888:3888:participant;2181