(heh this thread gives me a reason to look at the HDFS code)

> Well, doen't the following message imply HDFS could accept writes when it has 
> at least 1 data node available?
>
>> error: java.io.IOException: File 
>> /hbase/Object_Speed_Test/1dbc1bf84b48e1145638b3a3bc3ad1cd/.tmp/1275904589980700621
>>  could only be replicated to 0 nodes, instead of 1

This is how that message is constructed:

       throw new IOException("File " + src + " could only be replicated to " +
                           targets.length + " nodes, instead of "
                           minReplication);

minReplication is the number of replicas needed in order to accept a
write, by default 1. In this case, it wasn't able to place the block
anywhere for an unknown reason.

>
> Also it's strange that the region servers got corrupted reads when there are 
> two more replicase available on HDFS.

Corrupted reads? This is a loaded term, are you really saying that the
region server read corrupted data from HDFS?

J-D

Reply via email to