Hadoop pseudo distributed configuration on CentOS -


i able configure hadoop on stand alone machine , try run pseudo distributed hadoop configuration have done configuration per this link.

  1. i able format name node
  2. but when fire bin/start-all.sh command, nodes not started properly.
  3. when went through log file, found following error.

namenode-hadoop2.log

java.io.ioexception: file /tmp/hadoop-root/mapred/system/jobtracker.info be
replicated 0 nodes, instead of 1 @ 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 replicated 0 nodes, instead of 1

  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 replicated 0 nodes, instead of 1

please tell me other configuration other this link.

thanks.

this error implies there problem datanode. make sure running , able talk namenode. make sure have enough space left on datanode's disk. check if reserved space dn (as set in dfs.datanode.du.reserved) greater remaining free space. may message due permissions, eg if jt can not create jobtracker.info on startup.

you may find link useful. have tried show complete procedure setup pseudo distributed cluster. see if help.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

qt - Errors in generated MOC files for QT5 from cmake -