You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by tim robertson <ti...@gmail.com> on 2009/10/13 15:20:49 UTC
could only be replicated to 0 nodes, instead of 1
(java.io.EOFException)
Hi all,
I have just done a fresh install of hadoop-0.20.1 on a small cluster
and can't get it to start up.
Could someone please help me diagnose where I might be going wrong?
Below are the snippets of logs from the namenode, a datanode and a
tasktrasker.
I have successfully formated the namenode:
09/10/13 15:18:51 INFO common.Storage: Storage directory /hadoop/name
has been successfully formatted.
Any advice is greatly appreciated and please let me know if there is
more info I can to provide.
Thanks
Tim
The namenode is reporting:
-----------------------------------------------------------------------------------------------
2009-10-13 15:00:24,758 INFO org.apache.hadoop.ipc.Server: IPC Server
handler 3 on 8020, call
addBlock(/hadoop/mapred/system/jobtracker.info, DFSClient_-262825200)
from 192.38.28.30:49642: error: java.io.IOException: File
/hadoop/mapred/system/jobtracker.info could only be replicated
to 0 nodes, instead of 1
java.io.IOException: File /hadoop/mapred/system/jobtracker.info could
only be replicated to 0 nodes, instead of 1
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getAdditionalBlock(FSNamesystem.java:1267)
at org.apache.hadoop.hdfs.server.namenode.NameNode.addBlock(NameNode.java:422)
-----------------------------------------------------------------------------------------------
And the datanodes are reporting repeatedly:
-----------------------------------------------------------------------------------------------
2009-10-13 15:20:40,773 INFO org.apache.hadoop.ipc.RPC: Server at
hdfs-master.local/169.254.97.194:8020 not available yet, Zzzzz...
2009-10-13 15:20:42,774 INFO org.apache.hadoop.ipc.Client: Retrying
connect to server: hdfs-master.local/169.254.97.194:8020. Already
tried 0 time(s).
-----------------------------------------------------------------------------------------------
The task trackers are reporting:
-----------------------------------------------------------------------------------------------
2009-10-13 15:06:27,034 ERROR org.apache.hadoop.mapred.TaskTracker:
Can not start task tracker because java.io.IOException: Call to
hdfs-master.local/169.254.97.194:50070 failed on local exception:
java.io.EOFException
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 org.apache.hadoop.mapred.$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.mapred.TaskTracker.initialize(TaskTracker.java:514)
at org.apache.hadoop.mapred.TaskTracker.<init>(TaskTracker.java:934)
at org.apache.hadoop.mapred.TaskTracker.main(TaskTracker.java:2833)
Caused by: java.io.EOFException
at java.io.DataInputStream.readInt(DataInputStream.java:375)
at org.apache.hadoop.ipc.Client$Connection.receiveResponse(Client.java:508)
at org.apache.hadoop.ipc.Client$Connection.run(Client.java:446)
-----------------------------------------------------------------------------------------------