Exception in thread "main" org.apache.hadoop.net.ConnectTimeoutException: Call From bwzm77/172.20.224.1 to 170.20.10.10:9000 failed on socket timeout exception: org.apache.hadoop.net.ConnectTimeoutException: 20000 millis timeout while waiting for channel to be ready for connect. ch : java.nio.channels.SocketChannel[connection-pending remote=170.20.10.10/170.20.10.10:9000]; For more details see: http://wiki.apache.org/hadoop/SocketTimeout at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
时间: 2023-08-06 21:03:32 浏览: 277
外网无法访问HDFS org.apache.hadoop.hdfs.BlockMissingException: Could not obtain block
这是一个Hadoop网络连接超时异常,可能是由于连接到Hadoop集群的节点(bwzm77/172.20.224.1)与Hadoop主节点(170.20.10.10)之间的网络延迟或连接不稳定导致的。建议检查网络连接是否正常,并尝试重新连接或增加连接超时时间。也可以参考链接 http://wiki.apache.org/hadoop/SocketTimeout 了解更多细节。
阅读全文