使用eclipse连接hadoop失败情况

本文记录了一位开发者在Windows上使用Eclipse连接Hadoop 1.2.1集群时遇到的SocketTimeoutException问题。经过8小时的排查,发现问题是由于Windows防火墙阻止了连接。通过关闭防火墙或特定端口,最终解决了问题,能够成功访问Hadoop集群。
摘要由CSDN通过智能技术生成
Mar 16, 2014 4:13:32 PM org.apache.hadoop.ipc.Client$Connection handleConnectionFailure
INFO: Retrying connect to server: vincent/192.168.56.101:9000. Already tried 0 time(s); maxRetries=45
Mar 16, 2014 4:13:53 PM org.apache.hadoop.ipc.Client$Connection handleConnectionFailure
INFO: Retrying connect to server: vincent/192.168.56.101:9000. Already tried 1 time(s); maxRetries=45
Mar 16, 2014 4:14:14 PM org.apache.hadoop.ipc.Client$Connection handleConnectionFailure
INFO: Retrying connect to server: vincent/192.168.56.101:9000. Already tried 2 time(s); maxRetries=45
Mar 16, 2014 4:14:35 PM org.apache.hadoop.ipc.Client$Connection handleConnectionFailure
INFO: Retrying connect to server: vincent/192.168.56.101:9000. Already tried 3 time(s); maxRetries=45
Mar 16, 2014 4:14:56 PM org.apache.hadoop.ipc.Client$Connection handleConnectionFailure
INFO: Retrying connect to server: vincent/192.168.56.101:9000. Already tried 4 time(s); maxRetries=45

Mar 16, 2014 4:15:17 PM org.apache.hadoop.ipc.Client$Connection handleConnectionFailure

..................

INFO: Retrying connect to server: vincent/192.168.56.101:9000. Already tried 43 time(s); maxRetries=45
Mar 16, 2014 4:28:56 PM org.apache.hadoop.ipc.Client$Connection handleConnectionFailure
INFO: Retrying connect to server: vincent/192.168.56.101:9000. Already tried 44 time(s); maxRetries=45
Exception in thread "main" java.net.SocketTimeoutException: Call to vincent/192.168.56.101:9000 failed on socket timeout exception: java.net.SocketTimeoutException: 20000 millis timeout while waiting for channel to be ready for connect. ch : java.nio.channels.SocketChannel[connection-pending remote=vincent/192.168.56.101:9000]
at org.apache.hadoop.ipc.Client.wrapException(Client.java:1146)
at org.apache.hadoop.ipc.Client.call(Client.java:1118)
at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:229)
at $Proxy1.getProtocolVersion(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMe

  • 6
    点赞
  • 24
    收藏
    觉得还不错? 一键收藏
  • 12
    评论
评论 12
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值