Can I ask what version do you read? You looks reach so deeply into the architecture of a system...
On Thu, May 21, 2009 at 12:28 AM, Sangmin Lee <sangmin....@gmail.com> wrote: > Okay.. I was going dumb by misreading some source code. > Please ignore my question regarding this. > Sorry about this. > > Sangmin > > On Tue, May 19, 2009 at 11:59 PM, Sangmin Lee <sangmin....@gmail.com> wrote: > >> 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 >> > -- Best Regards, Edward J. Yoon @ NHN, corp. edwardy...@apache.org http://blog.udanax.org