I am able to configure hadoop on stand alone machine and now try to run pseudo distributed hadoop configuration I have done configuration as per this link.
- I am able to format the name node
- But when I fire bin/start-all.sh command, the nodes are not started properly.
- when I went through log file, I found the following error.
namenode-hadoop2.log
java.io.IOException: File /tmp/hadoop-root/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:1558)
jobtracker-hadoop2.log
2013-05-10 11:36:09,959 WARN org.apache.hadoop.hdfs.DFSClient: DataStreamer Exception: org.apache.hadoop.ipc.RemoteException: java.io.IOException: File /tmp/hadoop-root/mapred/system/jobtracker.info could only be replicated to 0 nodes, instead of 1
I execute following command:
bin/hadoop fs -put conf input
13/05/10 11:42:19 ERROR hdfs.DFSClient: Exception closing file /user/root/input/mapred-site.xml : org.apache.hadoop.ipc.RemoteException: java.io.IOException: File /user/root/input/mapred-site.xml could only be replicated to 0 nodes, instead of 1
Please tell me any other configuration other than this link.
Thanks.