Check your DataNode logs under $HADOOP_HOME/logs/. It would have the
reason why it did not start.

You can also issue `hadoop datanode` and watch the exceptional movie play.

On Tue, Feb 1, 2011 at 4:46 AM, sharath jagannath
<sharathjagann...@gmail.com> wrote:
> Hey All,
>
> I am trying to install hadoop 0.20.2 and proceeded till daemon-start-up
> bin/start-all.sh.
> But I see no datanode created.
>
> jps output:
> 43323 JobTracker
> 43281 SecondaryNameNode
> 43162 NameNode
> 43403 Jps
> 43381 TaskTracker
> 19747
>
> Named node log:
> 2011-01-31 15:08:47,343 INFO org.apache.hadoop.ipc.Server: IPC Server
> handler 6 on 9000, call addBlock(/tmp/hadoop-sjagannath/mapred/system/
> jobtracker.info, DFSClient_-462680310) from 127.0.0.1:61167: error:
> java.io.IOException: File /tmp/hadoop-sjagannath/mapred/system/
> jobtracker.info could only be replicated to 0 nodes, instead of 1
> java.io.IOException: File /tmp/hadoop-sjagannath/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:1271)
> at
> org.apache.hadoop.hdfs.server.namenode.NameNode.addBlock(NameNode.java:422)
> at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:508)
> at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:959)
> at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:955)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAs(Subject.java:396)
> at org.apache.hadoop.ipc.Server$Handler.run(Server.java:953)
>
>
> I am sure, I am doing what ever the quickstarts asks me to do.
> I am following:
> a.
> http://hadoop-tutorial.blogspot.com/2010/11/running-hadoop-in-pseudo-distributed.html
> b. http://hadoop.apache.org/common/docs/current/single_node_setup.html
>
> I am no sure what is going on.
> I would love to clear this hurdle and get my hand dirty with the actual
> work.
> Please let me know what is happening.
>
>
> Thanks,
> Sharath
>



-- 
Harsh J
www.harshj.com

Reply via email to