Zookeeper中有很多警告日志-警告无法从客户端读取其他数据

时间:2019-02-25 09:02:32

标签: docker amazon-ec2 apache-kafka apache-zookeeper confluent

我收到许多以下的动物园管理员警告日志:

  

2019-02-25 08:50:17,599] INFO客户端尝试在/172.17.22.182:42932建立新会话(org.apache.zookeeper.server.ZooKeeperServer)   [2019-02-25 08:50:17,602] INFO为客户端/172.17.22.182:42932建立了会话0x100000519f70036,协商超时4000(org.apache.zookeeper.server.ZooKeeperServer)   [2019-02-25 08:50:20,478]警告无法从客户端sessionid 0x100000519f70036读取其他数据,可能是客户端已关闭套接字(org.apache.zookeeper.server.NIOServerCnxn)   [2019-02-25 08:50:20,479]信息具有会话ID 0x100000519f70036的客户端/172.17.22.182:42932的套接字连接已关闭(org.apache.zookeeper.server.NIOServerCnxn)   [2019-02-25 08:50:24,983]信息来自/172.17.21.38:45994的套接字连接已接受(org.apache.zookeeper.server.NIOServerCnxnFactory)   [2019-02-25 08:50:24,984]警告来自旧客户端的连接请求/172.17.21.38:45994;如果服务器处于R-O模式(org.apache.zookeeper.server.ZooKeeperServer),将被删除   [2019-02-25 08:50:24,984] INFO客户端尝试在/172.17.21.38:45994(org.apache.zookeeper.server.ZooKeeperServer)建立新会话   [2019-02-25 08:50:24,987]信息为客户端/172.17.21.38:45994建立了具有协商超时4000的会话0x100000519f70037(org.apache.zookeeper.server.ZooKeeperServer)   [2019-02-25 08:50:28,871]警告无法从客户端sessionid 0x100000519f70037读取其他数据,可能是客户端已关闭套接字(org.apache.zookeeper.server.NIOServerCnxn)   [2019-02-25 08:50:28,872]信息客户端/172.17.21.38:45994的封闭套接字连接,其会话ID为0x100000519f70037(org.apache.zookeeper.server.NIOServerCnxn)   [2019-02-25 08:50:35,612]信息从/172.17.22.182:42942接受的套接字连接(org.apache.zookeeper.server.NIOServerCnxnFactory)   [2019-02-25 08:50:35,612] WARN来自旧客户端的连接请求/172.17.22.182:42942;如果服务器处于R-O模式(org.apache.zookeeper.server.ZooKeeperServer),将被删除   [2019-02-25 08:50:35,612] INFO客户端尝试在/172.17.22.182:42942建立新会话(org.apache.zookeeper.server.ZooKeeperServer)   [2019-02-25 08:50:35,615]信息为客户端/172.17.22.182:42942建立了会话0x100000519f70038,协商超时4000(org.apache.zookeeper.server.ZooKeeperServer)   [2019-02-25 08:50:38,492]警告无法从客户端sessionid 0x100000519f70038读取其他数据,可能是客户端已关闭套接字(org.apache.zookeeper.server.NIOServerCnxn)   [2019-02-25 08:50:38,493]信息客户端的封闭套接字连接   /172.17.22.182:42942,其会话ID为0x100000519f70038(org.apache.zookeeper.server.NIOServerCnxn)

我的集群结构是:3个zookeeper节点和3个Kafka节点,基于docker的差异EC2机器上的每个节点(共6个),我从confluent拍摄了图像 注意:我的kafka节点和zookeeper节点与SASL_SSL通信

这是我的动物园管理员docker-compose:

zookeeper:
  container_name: zookeeper
  image: confluentinc/cp-zookeeper:5.1.2
  ports:
    - "2181:2181"
    - "30001:30001"
  volumes:
    - "/mnt/zookeeper/data:/var/lib/zookeeper/data"
    - "/mnt/zookeeper/logs:/var/lib/zookeeper/log"
    - "/etc/me/secrets/zookeeper_secrets:/etc/kafka/secrets/"
  environment:
    ZOOKEEPER_SERVER_ID: <%= zookeeperServerId %>
    ZOOKEEPER_CLIENT_PORT: 2181
    ZOOKEEPER_TICK_TIME: 2000
    ZOOKEEPER_INIT_LIMIT: 5
    ZOOKEEPER_SYNC_LIMIT: 2
    ZOOKEEPER_SERVERS: <%= zookeeperDockerServerList %>
    KAFKA_OPTS: "-Djava.security.auth.login.config=/etc/kafka/secrets/zookeeper_jaas.conf -Dzookeeper.authProvider.1=org.apache.zookeeper.server.auth.SASLAuthenticationProvider"
  network_mode: host

0 个答案:

没有答案