WARN Session 0x0 for server null, unexpected error, closing socket connection and attempting reconne...

博客文章详细记录了在启动Kafka时遇到的WARN Session 0x0错误,该错误关联到Zookeeper客户端连接异常。作者分析认为这是由于Zookeeper服务器未运行导致,并通过首先启动Zookeeper集群并随后启动Kafka成功解决了问题。
摘要由CSDN通过智能技术生成

WARN Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn) java.net.ConnectException: Connection refused

1、启动kafka的脚本程序报如下所示的错误:

 1 [hadoop@slaver1 script_hadoop]$ kafka-start.sh 
 2 start kafkaServer...
 3 [2018-05-22 09:29:08,783] INFO Verifying properties (kafka.utils.VerifiableProperties)
 4 [2018-05-22 09:29:08,942] INFO Property broker.id is overridden to 1 (kafka.utils.VerifiableProperties)
 5 [2018-05-22 09:29:08,943] INFO Property log.cleaner.enable is overridden to false (kafka.utils.VerifiableProperties)
 6 [2018-05-22 09:29:08,945] INFO Property log.dirs is overridden to /tmp/kafka-logs (kafka.utils.VerifiableProperties)
 7 [2018-05-22 09:29:08,946] INFO Property log.retention.check.interval.ms is overridden to 60000 (kafka.utils.VerifiableProperties)
 8 [2018-05-22 09:29:08,946] INFO Property log.retention.hours is overridden to 168 (kafka.utils.VerifiableProperties)
 9 [2018-05-22 09:29:08,947] INFO Property log.segment.bytes is overridden to 536870912 (kafka.utils.VerifiableProperties)
10 [2018-05-22 09:29:08,947] INFO Property num.io.threads is overridden to 8 (kafka.utils.VerifiableProperties)
11 [2018-05-22 09:29:08,949] INFO Property num.network.threads is overridden to 2 (kafka.utils.VerifiableProperties)
12 [2018-05-22 09:29
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值