hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sangmin Lee <sangmin....@gmail.com>
Subject HDFS recovery code question
Date Wed, 20 May 2009 14:52:45 GMT
Hi all,

I have some question regarding the hdfs recovery mechanism.

I see that INodeFileUnderConstruction has a "targets" field that stores list
of datanodes which store its last block.
However, I don't see them being used at all except that
"internalReleaseLease" function uses the length of the datanode list.
Is there any other use of the "target" fields rather than checking its
length?

Could anyone shed some light on this?

Thanks,
Sangmin

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