大数据 排错日记0006——Connection timed out: no further information

报错信息(主要部分)

2020-03-31 15:38:26,551 INFO [org.apache.zookeeper.ClientCnxn] - Opening socket connection to server hadoop11/192.168.100.211:2181. Will not attempt to authenticate using SASL (unknown error)
2020-03-31 15:38:47,554 WARN [org.apache.zookeeper.ClientCnxn] - Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection timed out: no further information
	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141)
2020-03-31 15:38:47,661 INFO [org.apache.zookeeper.ClientCnxn] - Opening socket connection to server hadoop01/192.168.100.200:2181. Will not attempt to authenticate using SASL (unknown error)
2020-03-31 15:39:08,661 WARN [org.apache.zookeeper.ClientCnxn] - Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection timed out: no further information
	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141)
2020-03-31 15:39:08,765 INFO [org.apache.zookeeper.ClientCnxn] - Opening socket connection to server hadoop10/192.168.100.210:2181. Will not attempt to authenticate using SASL (unknown error)

问题描述
        HBase API测试过程测试代码时出现的报错信息
问题分析
        Connection timed out: no further information
        分析日志记录:连接超时,没有更多的信息,一看就是连接问题,代码没问题,赶紧看服务器Hadoop、Zookeeper和HBase都开了没有。
原因分析
        打开虚拟机一看,脑瓜子嗡嗡的,打脸,服务没开,连个毛线呀...
解决办法
        打开服务器,开启Hadoop、Zookeeper和HBase 服务。
成功结果展示
        成功就完事了
本节完!

更多信息交流请加QQ:1958917311
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值