hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Keren Ouaknine <ker...@gmail.com>
Subject fails configure multipe disks
Date Wed, 07 Dec 2011 22:46:59 GMT
On hdfs-site.xml:
<property>
   <name>dfs.data.dir</name>

<value>/mnt/disk1/home/kouaknine/hapache/tmp/dfs/name,/mnt/disk2/home/kouaknine/hapache/tmp/dfs/name</value>
   <final>true</final>
</property>

These are the errors I get:
*On the namenode:*
2011-12-07 17:40:24,522 INFO org.apache.hadoop.ipc.Server: IPC Server
handler 3 on 54310, call
addBlock(/mnt/disk1/home/kouaknine/hapache/tmp/mapred/system/jobtracker.info,
DFSClient_-1235583507) from 10.239.24.12:42875: error: java.io.IOException:
File /mnt/disk1/home/kouaknine/hapache/tmp/mapred/system/jobtracker.infocould
only be replicated to 0 nodes, instead of 1
java.io.IOException: File
/mnt/disk1/home/kouaknine/hapache/tmp/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:1416)
    at
org.apache.hadoop.hdfs.server.namenode.NameNode.addBlock(NameNode.java:596)
*
On the jobtracker*
2011-12-07 17:39:14,176 WARN org.apache.hadoop.hdfs.DFSClient: Error
Recovery for block null bad datanode[0] nodes == null
2011-12-07 17:39:14,176 WARN org.apache.hadoop.hdfs.DFSClient: Could not
get block locations. Source file
"/mnt/disk1/home/kouaknine/hapache/tmp/mapred/system/jobtracker.info" -
Aborting...
2011-12-07 17:39:14,176 WARN org.apache.hadoop.mapred.JobTracker: Writing
to file
hdfs://node024012.bocal.local:54310/mnt/disk1/home/kouaknine/hapache/tmp/mapred/system/
jobtracker.info failed!
2011-12-07 17:39:14,177 WARN org.apache.hadoop.mapred.JobTracker:
FileSystem is not ready yet!
2011-12-07 17:39:14,183 WARN org.apache.hadoop.mapred.JobTracker: Failed to
initialize recovery manager.
org.apache.hadoop.ipc.RemoteException: java.io.IOException: File
/mnt/disk1/home/kouaknine/hapache/tmp/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:1416)
    at
org.apache.hadoop.hdfs.server.namenode.NameNode.addBlock(NameNode.java:596)

-- 
 Keren Ouaknine
Cell: +972 54 2565404
Web: www.kereno.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message