Hi again.

Other tools, like balancer, or the web browsing from namenode, don't work as
well.
This because other nodes complain about not reaching the offending node as
well.

I even tried netcat'ing the IP/port from another node - and it successfully
connected.

Any advice on this "No route to host" error?

2009/4/21 Stas Oskin <stas.os...@gmail.com>

> Hi.
>
> I have quite a strange issue, where one of the datanodes that I have,
> rejects any blocks with error messages.
>
> I looked in the datanode logs, and found the following error:
>
> 2009-04-21 16:59:19,092 ERROR org.apache.hadoop.dfs.DataNode:
> DatanodeRegistration(192.168.253.20:50010,
> storageID=DS-1790181121-127.0.0.1-50010-1239123237447, infoPort=50075,
> ipcPort=50020):DataXceiver: java.net.NoRouteToHostException: No route to
> host
>         at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>         at
> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:574)
>         at
> org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)
>         at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:402)
>         at
> org.apache.hadoop.dfs.DataNode$DataXceiver.writeBlock(DataNode.java:1255)
>         at
> org.apache.hadoop.dfs.DataNode$DataXceiver.run(DataNode.java:1092)
>         at java.lang.Thread.run(Thread.java:619)
>
> 2009-04-21 16:59:31,047 INFO org.apache.hadoop.dfs.DataNode: Receiving
> block blk_1882546734729403703_7805 src: /192.168.253.32:54917 dest: /
> 192.168.253.32:50010
> 2009-04-21 16:59:31,048 INFO org.apache.hadoop.dfs.DataNode: writeBlock
> blk_1882546734729403703_7805 received exception
> java.net.NoRouteToHostException: No route to host
>
>
> Several facts:
>
> 1) I use the stable 0.18.3
> 2) It worked before correctly, before I had an overall power crash which
> brought down all the machines.
> 3) This datanode is located on same machine as the NameNode and the
> SecondaryNameNode.
> 4) I can ping the machine from itself - no error messages.
>
> Any idea what should be done to resolve it?
>
> Thanks in advance.
>

Reply via email to