hmm... one possibility is that rest of the nodes were down. but the name node showed other nodes were up. If more than one datanodes were up, this indicates some bug.

One last thing : grep for this block id at 10.100.11.31. You might see some useful error message when the block was written.

thanks,
Raghu.

Chris Kline wrote:
Sure.  Here are 2 blocks.

----- blk_4522585614366970680

hadoop-rapleaf-namenode-tf1.rapleaf.com.log.2008-01-02:2008-01-02 17:06:17,058 INFO org.apache.hadoop.dfs.StateChange: BLOCK* NameSystem.allocateBlock: /data/hbase1/hregion_70236052/compaction.dir/hregion_70236052/info/mapfiles/-1/index. blk_4522585614366970680 hadoop-rapleaf-namenode-tf1.rapleaf.com.log.2008-01-02:2008-01-02 17:06:17,062 INFO org.apache.hadoop.dfs.StateChange: BLOCK* NameSystem.addStoredBlock: blockMap updated: 10.100.11.31:7277 is added to blk_4522585614366970680

------ Note that the following is AFTER I restarted HDFS -------

hadoop-rapleaf-namenode-tf1.rapleaf.com.log.2008-01-03:2008-01-03 16:17:15,882 DEBUG org.apache.hadoop.dfs.StateChange: UnderReplicationBlocks.update blk_4522585614366970680 curReplicas 1 curExpectedReplicas 3 oldReplicas 0 oldExpectedReplicas 3 curPri 0 oldPri 3 hadoop-rapleaf-namenode-tf1.rapleaf.com.log.2008-01-03:2008-01-03 16:17:15,882 DEBUG org.apache.hadoop.dfs.StateChange: BLOCK* NameSystem.UnderReplicationBlock.update:blk_4522585614366970680 has only 1 replicas and need 3 replicas so is added to neededReplications at priority level 0 hadoop-rapleaf-namenode-tf1.rapleaf.com.log.2008-01-03:2008-01-03 16:17:58,808 DEBUG org.apache.hadoop.dfs.StateChange: BLOCK* NameSystem.UnderReplicationBlock.remove: Removing block blk_4522585614366970680 from priority queue 0 hadoop-rapleaf-namenode-tf1.rapleaf.com.log.2008-01-03:2008-01-03 16:17:58,808 DEBUG org.apache.hadoop.dfs.StateChange: BLOCK* NameSystem.pendingTransfer: blk_4522585614366970680 is removed from neededReplications to pendingReplications hadoop-rapleaf-namenode-tf1.rapleaf.com.log.2008-01-03:2008-01-03 16:17:58,808 INFO org.apache.hadoop.dfs.StateChange: BLOCK* NameSystem.pendingTransfer: ask 10.100.11.31:7277 to replicate blk_4522585614366970680 to datanode(s) 10.100.11.59:7277 10.100.11.64:7277 hadoop-rapleaf-namenode-tf1.rapleaf.com.log.2008-01-03:2008-01-03 16:17:59,716 DEBUG org.apache.hadoop.dfs.StateChange: BLOCK* NameSystem.blockReceived: blk_4522585614366970680 is received from 10.100.11.59:7277 hadoop-rapleaf-namenode-tf1.rapleaf.com.log.2008-01-03:2008-01-03 16:17:59,716 INFO org.apache.hadoop.dfs.StateChange: BLOCK* NameSystem.addStoredBlock: blockMap updated: 10.100.11.59:7277 is added to blk_4522585614366970680 hadoop-rapleaf-namenode-tf1.rapleaf.com.log.2008-01-03:2008-01-03 16:17:59,717 DEBUG org.apache.hadoop.dfs.StateChange: BLOCK* NameSystem.blockReceived: blk_4522585614366970680 is received from 10.100.11.64:7277 hadoop-rapleaf-namenode-tf1.rapleaf.com.log.2008-01-03:2008-01-03 16:17:59,717 INFO org.apache.hadoop.dfs.StateChange: BLOCK* NameSystem.addStoredBlock: blockMap updated: 10.100.11.64:7277 is added to blk_4522585614366970680

Reply via email to