Hi ChaoChun, I do not fully understand your problem. I am guessing that you are running a Datanode on the same machine as the Namenode. I am also guessing that you are using the Namenode machine as a client to upload a file into HDFS. In this case, the only replica of the file will reside on the Datanode that is local to the client.
Thanks, dhruba -----Original Message----- From: ChaoChun Liang [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 05, 2007 1:58 AM To: [email protected] Subject: Replication problem of HDFS According the reference of HDFS(http://lucene.apache.org/hadoop/hdfs_design.html), a file in the HDFS will be split into one or more blocks and these blocks are stored in a set of Datanodes. I put(set replication=1) a 2GB data set to a 5-nodes cluster, but found only the namenode increase the block numbers, others nodes keep the same value. It means all blocks copied to the namenode, none to datanodes. Is it correct? ChaoChun -- View this message in context: http://www.nabble.com/Replication-problem-of-HDFS-tf4382878.html#a12494269 Sent from the Hadoop Users mailing list archive at Nabble.com.
