Dear all

I am facing problem wrt the datanode(at slave). In the log file of slave i am 
getting following message: 
            "Call to master/192.168.0.1:54310 failed on local exception: 
java.net.NoRouteToHostException:             No route to host at 
org.apache.hadoop.ipc.Client.wrapException"
I am currently working on two node cluster. The network is working fine. Both 
machines can ping each other.

And Following is the log file of datanode.


 STARTUP_MSG: Starting DataNode
STARTUP_MSG:   host = slave/192.168.0.2
STARTUP_MSG:   args = []
STARTUP_MSG:   version = 0.20.1
STARTUP_MSG:   build = 
http://svn.apache.org/repos/asf/hadoop/common/tags/release-0.20.1-rc1 -r 
810220; compiled by 'oom' on Tue Sep  1 20:55:56 UTC 2009
************************************************************/
2010-01-15 18:50:56,435 INFO org.apache.hadoop.ipc.Client: Retrying connect to 
server: master/192.168.0.1:54310. Already tried 0 time(s).
2010-01-15 18:50:57,436 INFO org.apache.hadoop.ipc.Client: Retrying connect to 
server: master/192.168.0.1:54310. Already tried 1 time(s).
2010-01-15 18:50:58,437 INFO org.apache.hadoop.ipc.Client: Retrying connect to 
server: master/192.168.0.1:54310. Already tried 2 time(s).
2010-01-15 18:50:59,438 INFO org.apache.hadoop.ipc.Client: Retrying connect to 
server: master/192.168.0.1:54310. Already tried 3 time(s).
2010-01-15 18:51:00,439 INFO org.apache.hadoop.ipc.Client: Retrying connect to 
server: master/192.168.0.1:54310. Already tried 4 time(s).
2010-01-15 18:51:01,440 INFO org.apache.hadoop.ipc.Client: Retrying connect to 
server: master/192.168.0.1:54310. Already tried 5 time(s).
2010-01-15 18:51:02,441 INFO org.apache.hadoop.ipc.Client: Retrying connect to 
server: master/192.168.0.1:54310. Already tried 6 time(s).
2010-01-15 18:51:03,443 INFO org.apache.hadoop.ipc.Client: Retrying connect to 
server: master/192.168.0.1:54310. Already tried 7 time(s).
2010-01-15 18:51:04,444 INFO org.apache.hadoop.ipc.Client: Retrying connect to 
server: master/192.168.0.1:54310. Already tried 8 time(s).
2010-01-15 18:51:05,445 INFO org.apache.hadoop.ipc.Client: Retrying connect to 
server: master/192.168.0.1:54310. Already tried 9 time(s).
2010-01-15 18:51:05,449 ERROR org.apache.hadoop.hdfs.server.datanode.DataNode: 
java.io.IOException: Call to master/192.168.0.1:54310 failed on local 
exception: java.net.NoRouteToHostException: No route to host
 at org.apache.hadoop.ipc.Client.wrapException(Client.java:774)
 at org.apache.hadoop.ipc.Client.call(Client.java:742)
 at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:220)
 at $Proxy4.getProtocolVersion(Unknown Source)
 at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:359)
 at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:346)
 at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:383)
 at org.apache.hadoop.ipc.RPC.waitForProxy(RPC.java:314)
 at org.apache.hadoop.ipc.RPC.waitForProxy(RPC.java:291)
 at 
org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:269)
 at org.apache.hadoop.hdfs.server.datanode.DataNode.<init>(DataNode.java:216)
 at 
org.apache.hadoop.hdfs.server.datanode.DataNode.makeInstance(DataNode.java:1283)
 at 
org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:1238)
 at 
org.apache.hadoop.hdfs.server.datanode.DataNode.createDataNode(DataNode.java:1246)
 at org.apache.hadoop.hdfs.server.datanode.DataNode.main(DataNode.java:1368)
Caused by: java.net.NoRouteToHostException: No route to host
 at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
 at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:592)
 at 
org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)
 at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:404)
 at org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:304)
 at org.apache.hadoop.ipc.Client$Connection.access$1700(Client.java:176)
 at org.apache.hadoop.ipc.Client.getConnection(Client.java:859)
 at org.apache.hadoop.ipc.Client.call(Client.java:719)
 ... 13 more
2010-01-15 18:51:05,451 INFO org.apache.hadoop.hdfs.server.datanode.DataNode: 
SHUTDOWN_MSG: 
/************************************************************
SHUTDOWN_MSG: Shutting down DataNode at slave/192.168.0.2
************************************************************/

Please help me asap.

regards
maria



      

Reply via email to